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: 8.6 [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]
CVE-ID: CVE-2021-26825
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

godot
Arch Linux
Fedora
Ubuntu
godot
godot (Ubuntu package)

How to mitigate CVE-2021-26825

Install update from vendor's website.

godot - update to 3.1.2-2.el7
godot (Ubuntu package) - addressed in versions 3.2-stable-2ubuntu0.1~esm1, 3.2.3-stable-1ubuntu0.1~esm1, 3.5.2-stable-2ubuntu0.24.04.1~esm1, 3.5.2-stable-2ubuntu0.24.10.1, 3.6+ds-2ubuntu0.1

External References

Related Security Bulletins