Integer overflow in Godotengine Godot Engine

CVE-2021-26825

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.

Vulnerability class: Integer Overflow

EPSS: 0.015 (72.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-26825?
CVE-2021-26825 is a high-severity vulnerability in Godotengine Godot Engine, classified under Integer Overflow or Wraparound. CVSS score: 7.8/10. Published 2021-02-08.
How severe is CVE-2021-26825?
High severity. CVSS v3 base score is 7.8 out of 10.