Skip to content
Fencer Intel
high 7.8

CVE-2021-26825 json

An integer overflow issue exists in Godot Engine up to v3.2 that can be triggered when loading specially crafted.TGA image files.

published 5y ago modified 4mo ago also EUVD-2021-13610

cvss
7.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.6%
EPSS 1.6% chance of exploitation in 30 days, percentile 75%
public exploits
0
none known

Summary

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.

Patch / fix

  • godot Debian 14, Debian 13 3.5.1-stable-1

debian advisories DEBIAN-CVE-2021-26825

  • godot Ubuntu Pro 20.04 LTS 3.2-stable-2ubuntu0.1~esm1
  • godot Ubuntu Pro 22.04 LTS 3.2.3-stable-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2021-26825

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • godot openSUSE Tumbleweed 3.3.3-1.3
  • godot3 openSUSE Tumbleweed 3.5.1-1.1

opensuse advisories openSUSE-SU-2024:10813-1openSUSE-SU-2024:12761-1

  • godot Arch Linux 3.2.3-2

arch linux advisories AVG-1544

Is CVE-2021-26825 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-26825 updated cvss 9.8

godot: integer overflow when loading specially crafted .TGA image files

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.60% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.