Files
CVEs-PoC/2021/CVE-2021-26825.md
T
2024-06-18 02:51:15 +02:00

19 lines
1005 B
Markdown

### [CVE-2021-26825](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-26825)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
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.
### POC
#### Reference
- https://github.com/godotengine/godot/pull/45702
- https://github.com/godotengine/godot/pull/45702/files
#### Github
No PoCs found on GitHub currently.