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
Link | Resource |
---|---|
https://github.com/godotengine/godot/pull/45702 | Patch Third Party Advisory |
https://github.com/godotengine/godot/pull/45702/files | Patch Third Party Advisory |
Configurations
Information
Published : 2021-02-08 07:15
Updated : 2021-02-11 07:59
NVD link : CVE-2021-26825
Mitre link : CVE-2021-26825
JSON object : View
CWE
CWE-190
Integer Overflow or Wraparound
Products Affected
godotengine
- godot_engine