# CVE-2021-26826: A stack overflow issue exists in Godot Engine up to v3.2 and is caused by improper boundary checks when loading .TGA image files.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.61%, higher than 76% of CVEs (2026-12-01)
- Published: 2021-02-08T14:55:24.000Z
- Modified: 2026-06-17T03:43:49.633Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

A stack overflow issue exists in Godot Engine up to v3.2 and is caused by improper boundary checks when loading .TGA image files. Depending on the context of the application, attack vector can be local or remote, and can lead to code execution and/or system crash.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- godotengine godot_engine: up to 3.2

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/godotengine/godot/pull/45701> (patch, third-party-advisory)
- <https://github.com/godotengine/godot/pull/45701/commits/403e4fd08b0b212e96f53d926e6273e0745eaa5a> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-26826](https://www.cve.org/CVERecord?id=CVE-2021-26826), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-26826](https://nvd.nist.gov/vuln/detail/CVE-2021-26826), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-26826 · Whole record: https://cve.day/CVE-2021-26826.json · Rebuilt by cve.day 2026-11-25T22:57:59.838Z
