What’s Vulnerable › Vulnerabilities
CVE-2021-26825
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-02-08 · updated 2026-06-17
- Weakness: CWE-190
Description
An integer overflow issue exists in Godot Engine up to v3.2 that can be triggered when loading specially crafted.TGA image files. The vulnerability exists in ImageLoaderTGA::load_image() function at line: const size_t buffer_size = (tga_header.image_width * tga_header.image_height) * pixel_size; The bug leads to Dynamic stack buffer overflow. Depending on the context of the application, attack vector can be local or remote, and can lead to code execution and/or system crash.
Affected products
- godotengine Godot Engine: through 3.2
References
- https://github.com/godotengine/godot/pull/45702
- https://github.com/godotengine/godot/pull/45702/files
- https://github.com/godotengine/godot/pull/45702
- https://github.com/godotengine/godot/pull/45702/files
Get alerted when CVE-2021-26825 or the next vulnerability affects your stack