godot3: An integer overflow issue exists in Godot Engine up to v3.2 that can be triggered when loading specially crafted.TGA...
CVE-2021-26825 is fixed in 3 products on 1 platform, first by godot3 3.2-stable-2ubuntu0.1~esm1, released February 8, 2021. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| godot3 · Ubuntu 20.04 LTS (focal) | 3.2-stable-2ubuntu0.1~esm1 | godot3 3.2-stable-2ubuntu0.1~esm1 | Feb 8, 2021 |
| godot3 · Ubuntu 22.04.1 LTS (jammy) | 3.2.3-stable-1ubuntu0.1~esm1 | godot3 3.2.3-stable-1ubuntu0.1~esm1 | Feb 8, 2021 |
| godot3-runner · Ubuntu 20.04 LTS (focal) | 3.2-stable-2ubuntu0.1~esm1 | godot3-runner 3.2-stable-2ubuntu0.1~esm1 | Feb 8, 2021 |
| godot3-runner · Ubuntu 22.04.1 LTS (jammy) | 3.2.3-stable-1ubuntu0.1~esm1 | godot3-runner 3.2.3-stable-1ubuntu0.1~esm1 | Feb 8, 2021 |
| godot3-server · Ubuntu 20.04 LTS (focal) | 3.2-stable-2ubuntu0.1~esm1 | godot3-server 3.2-stable-2ubuntu0.1~esm1 | Feb 8, 2021 |
| godot3-server · Ubuntu 22.04.1 LTS (jammy) | 3.2.3-stable-1ubuntu0.1~esm1 | godot3-server 3.2.3-stable-1ubuntu0.1~esm1 | Feb 8, 2021 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.