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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | godot | 3.5.1-stable-1 | — |
| Debian 13 | godot | 3.5.1-stable-1 | — |
| Debian 12 | godot | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | godot | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | godot | 3.5.2-stable-2ubuntu0.24.04.1~esm1 | USN-7579-1 |
| Ubuntu Pro 22.04 LTS | godot | 3.2.3-stable-1ubuntu0.1~esm1 | USN-7579-1 |
| Ubuntu Pro 20.04 LTS | godot | 3.2-stable-2ubuntu0.1~esm1 | USN-7579-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | godot | 3.3.3-1.3 | openSUSE-SU-2024:10813-1 |
| openSUSE Tumbleweed | godot3 | 3.5.1-1.1 | openSUSE-SU-2024:12761-1 |
Advisories 3
- USN-7579-1 godot vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2024:12761-1 godot3-3.5.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10813-1 godot-3.3.3-1.3 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026