CVE-2021-26825

NameCVE-2021-26825
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs982593

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
godot (PTS)bookworm, bullseye3.2.3-stable-1vulnerable
sid, trixie3.5.2-stable-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
godotsource(unstable)3.5.1-stable-1982593

Notes

[bookworm] - godot <no-dsa> (Minor issue)
[bullseye] - godot <no-dsa> (Minor issue)
[buster] - godot <no-dsa> (Minor issue)
https://github.com/godotengine/godot/pull/45701
https://github.com/godotengine/godot/commit/403e4fd08b0b212e96f53d926e6273e0745eaa5a (master)
https://github.com/godotengine/godot/commit/113b5ab1c45c01b8e6d54d13ac8876d091f883a8 (3.3-stable)

Search for package or bug name: Reporting problems