CVE-2021-26825 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 l...
HighCVSS 7.8
EPSS 1.6%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 6 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/godot(Debian 12) | = 3.2.3-stable-1; = 3.5.1-stable-1; = 3.5.1-stable-2; = 3.5.2-stable-1 +9 more | No fix listed | No fix yet |
| ubuntu/godot(Ubuntu 26.10) | = 4.6.3+ds-1; = 4.6.3+ds-2; All versions | No fix listed | No fix yet |
| debian/godot(Debian 13) | < 3.5.1-stable-1 | 3.5.1-stable-1 | Fixed |
| debian/godot(Debian 14) | < 3.5.1-stable-1 | 3.5.1-stable-1 | Fixed |
| godotengine Godot Engine | <= 3.2 | after 3.2 | Fixed |
| ubuntu/godot(Ubuntu 22.04) | < 3.2.3-stable-1ubuntu0.1~esm1 | 3.2.3-stable-1ubuntu0.1~esm1 | Fixed |
| ubuntu/godot(Ubuntu Pro 20.04) | < 3.2-stable-2ubuntu0.1~esm1; = 3.0.6-2build1; = 3.0.6-2build2; = 3.2-stable-2 | 3.2-stable-2ubuntu0.1~esm1 | Fixed |
| ubuntu/godot(Ubuntu Pro 22.04) | < 3.2.3-stable-1ubuntu0.1~esm1; = 3.2.3-stable-1; = 3.2.3-stable-1build1; = 3.2.3-stable-1build2 | 3.2.3-stable-1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/godot(Debian:12) | All versions | No fix listed |
| debian/godot(Debian:12) | = 3.2.3-stable-1 | No fix listed |
| debian/godot(Debian:12) | = 3.5.1-stable-1 | No fix listed |
| debian/godot(Debian:12) | = 3.5.1-stable-2 | No fix listed |
| debian/godot(Debian:12) | = 3.5.2-stable-1 | No fix listed |
| debian/godot(Debian:12) | = 3.5.2-stable-2 | No fix listed |
| debian/godot(Debian:12) | = 3.6+ds-1 | No fix listed |
| debian/godot(Debian:12) | = 3.6+ds-2 | No fix listed |
| debian/godot(Debian:12) | = 4.4.1+ds-1 | No fix listed |
| debian/godot(Debian:12) | = 4.4.1+ds-1.1 | No fix listed |
| debian/godot(Debian:12) | = 4.5.1+ds-1 | No fix listed |
| debian/godot(Debian:12) | = 4.6.3+ds-1 | No fix listed |
| debian/godot(Debian:12) | = 4.6.3+ds-2 | No fix listed |
| debian/godot(Debian:13) | < 3.5.1-stable-1 | 3.5.1-stable-1 |
| debian/godot(Debian:14) | < 3.5.1-stable-1 | 3.5.1-stable-1 |
| godotengine Godot Engine | <= 3.2 | No fix listed |
| ubuntu/godot(Ubuntu:22.04) | < 3.2.3-stable-1ubuntu0.1~esm1 | 3.2.3-stable-1ubuntu0.1~esm1 |
| ubuntu/godot(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/godot(Ubuntu:Pro:20.04) | < 3.2-stable-2ubuntu0.1~esm1 | 3.2-stable-2ubuntu0.1~esm1 |
| ubuntu/godot(Ubuntu:Pro:20.04) | = 3.0.6-2build1 | No fix listed |
| ubuntu/godot(Ubuntu:Pro:20.04) | = 3.0.6-2build2 | No fix listed |
| ubuntu/godot(Ubuntu:Pro:20.04) | = 3.2-stable-2 | No fix listed |
| ubuntu/godot(Ubuntu:Pro:22.04) | < 3.2.3-stable-1ubuntu0.1~esm1 | 3.2.3-stable-1ubuntu0.1~esm1 |
| ubuntu/godot(Ubuntu:Pro:22.04) | = 3.2.3-stable-1 | No fix listed |
| ubuntu/godot(Ubuntu:Pro:22.04) | = 3.2.3-stable-1build1 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/godot(Ubuntu:Pro:22.04) | = 3.2.3-stable-1build2 | No fix listed |
| ubuntu/godot(Ubuntu:26.10) | = 4.6.3+ds-1 | No fix listed |
| ubuntu/godot(Ubuntu:26.10) | = 4.6.3+ds-2 | No fix listed |
References
- Debian Security Tracker CVE-2021-26825 vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-7579-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- github.com issue-tracking