CVE-2021-26825
HIGHGodot Engine < 3.2 - Integer Overflow in TGA Image Loader
Title source: llmDescription
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.
References (2)
Core 2
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/godotengine/godot/pull/45702
Patch, Third Party Advisory x_refsource_misc
https://github.com/godotengine/godot/pull/45702/files
Scores
CVSS v3
7.8
EPSS
0.0150
EPSS Percentile
71.0%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-190
Status
published
Products (1)
godotengine/godot_engine
< 3.2
Published
Feb 08, 2021
Tracked Since
Feb 18, 2026