Integer overflow in godot - CVE-2021-26825

 

Integer overflow in godot - CVE-2021-26825

Published: March 26, 2021 / Updated: March 7, 2023


Vulnerability identifier: #VU51743
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-26825
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GodotVR
Affected software:
godot

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow when processing .TGA image files within the in ImageLoaderTGA::load_image() function. A remote attacker can pass specially crafted .TGA file to to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2021-26825

Install update from vendor's website.

Sources