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 |
https://github.com/godotengine/godot/pull/45702 | Patch Third Party Advisory |
https://github.com/godotengine/godot/pull/45702/files | Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 05:56
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/godotengine/godot/pull/45702 - Patch, Third Party Advisory | |
References | () https://github.com/godotengine/godot/pull/45702/files - Patch, Third Party Advisory |
Information
Published : 2021-02-08 15:15
Updated : 2024-11-21 05:56
NVD link : CVE-2021-26825
Mitre link : CVE-2021-26825
CVE.ORG link : CVE-2021-26825
JSON object : View
Products Affected
godotengine
- godot_engine
CWE
CWE-190
Integer Overflow or Wraparound