CVE-2021-26825Godotengine Godot Engine
High 7.8
Follow: this CVE · Godotengine · Godotengine Godot Engine We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- Yes
- Published
- Feb 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Godot Engine.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| godotengine | godot_engine | ≤ 3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory