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)buster3.0.6-2vulnerable
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


[bookworm] - godot <no-dsa> (Minor issue)
[bullseye] - godot <no-dsa> (Minor issue)
[buster] - godot <no-dsa> (Minor issue) (master) (3.3-stable)

Search for package or bug name: Reporting problems