Vulnerability · Published Feb 8, 2021 · Assigned by mitre
CVE-2021-26825
High 7.8
In plain English
A high-severity security flaw in the godot package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | godot | no fix listed | DEBIAN-CVE-2021-26825 |
| Debian:13 | godot | 3.5.1-stable-1 | DEBIAN-CVE-2021-26825 |
| Debian:14 | godot | 3.5.1-stable-1 | DEBIAN-CVE-2021-26825 |
| Ubuntu:26.10 | godot | no fix listed | UBUNTU-CVE-2021-26825 |
Affected products (as reported)
References
- https://github.com/godotengine/godot/pull/45702 x_refsource_MISC
- https://github.com/godotengine/godot/pull/45702/files x_refsource_MISC