Integer overflow in godot - CVE-2021-26825
Published: March 26, 2021 / Updated: March 7, 2023
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
Arch Linux
Fedora
Ubuntu
godot
godot (Ubuntu package)
How to mitigate CVE-2021-26825
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