Skip to content
OpenAdvisories
Unscored CVE-2021-26825 EUVD-2021-13610GHSA-gp7f-w798-4853

An integer overflow issue exists in Godot Engine up to v3.2 that can be triggered when loading specially crafted.TGA image files. The vulne…

Published Feb 8, 2021 · Updated Aug 3, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
Debian 14 godot 3.5.1-stable-1 —
Debian 13 godot 3.5.1-stable-1 —
Debian 12 godot No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 godot No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

References