Every CVE Search/ Get API key

CVE-2021-26825

An integer overflow issue exists in Godot Engine up to v3.2 that can be triggered when loading...

7.8 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.60%Up 0.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.8

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.

Record
CVE-2021-26825
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-26825
Updated
2026-11-02
EUVDEUVD-2021-13610 No score

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.

Record
EUVD-2021-13610
Updated
2026-11-03
GitHub AdvisoriesGHSA-gp7f-w798-4853 No score

An integer overflow issue exists in Godot Engine up to v3.2 that can be triggered when loading...

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.

Record
GHSA-gp7f-w798-4853
Weakness
CWE-190
Updated
2026-11-02
OSV 7.8

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.

Record
CVE-2021-26825
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-26825 7.8

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.

Record
DEBIAN-CVE-2021-26825
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2021-26825 7.8

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.

Record
UBUNTU-CVE-2021-26825
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:10813-1 No score

godot-3.3.3-1.3 on GA media

These are all security issues fixed in the godot-3.3.3-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10813-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12761-1 No score

godot3-3.5.1-1.1 on GA media

These are all security issues fixed in the godot3-3.5.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12761-1
Updated
2026-11-02
OSVUSN-7579-1 No score

godot vulnerabilities

It was discovered that the Godot Engine did not properly handle certain malformed WebM media files. If the Godot Engine opened a specially crafted WebM file, a remote attacker could cause a denial of service, or possibly execute arbitrary code. (CVE-2019-2126)

It was discovered that the Godot Engine did not properly handle certain malformed TGA image files. If the Godot Engine opened a specially crafted TGA image file, a remote attacker could cause a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2021-26825, CVE-2021-26826)

Record
USN-7579-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
godot
Debian:12
All versions, plus listed versions
3.2.3-stable-13.5.1-stable-13.5.1-stable-23.5.2-stable-13.5.2-stable-2
Show 7 moreShow less
3.6+ds-13.6+ds-24.4.1+ds-14.4.1+ds-1.14.5.1+ds-14.6.3+ds-14.6.3+ds-2
None known
godot
Debian:13
before 3.5.1-stable-1
3.5.1-stable-1
godot
Debian:14
before 3.5.1-stable-1
3.5.1-stable-1
godot
Ubuntu:Pro:20.04:LTS
before 3.2-stable-2ubuntu0.1~esm1, plus listed versions
3.0.6-2build13.0.6-2build23.2-stable-2
3.2-stable-2ubuntu0.1~esm1
godot
Ubuntu:Pro:22.04:LTS
before 3.2.3-stable-1ubuntu0.1~esm1, plus listed versions
3.2.3-stable-13.2.3-stable-1build13.2.3-stable-1build2
3.2.3-stable-1ubuntu0.1~esm1
godot
Ubuntu:26.10
All versions, plus listed versions
4.6.3+ds-14.6.3+ds-2
None known
godot
Ubuntu:Pro:20.04:LTS
From an advisory covering 3 CVEs
before 3.2-stable-2ubuntu0.1~esm1, plus listed versions
3.0.6-2build13.0.6-2build23.2-stable-2
3.2-stable-2ubuntu0.1~esm1
godot
Ubuntu:Pro:22.04:LTS
From an advisory covering 3 CVEs
before 3.2.3-stable-1ubuntu0.1~esm1, plus listed versions
3.2.3-stable-13.2.3-stable-1build13.2.3-stable-1build2
3.2.3-stable-1ubuntu0.1~esm1
godot
Ubuntu:Pro:24.04:LTS
From an advisory covering 3 CVEs
before 3.5.2-stable-2ubuntu0.24.04.1~esm1, plus listed versions
3.5.2-stable-23.5.2-stable-2build13.5.2-stable-2build33.5.2-stable-2build4
3.5.2-stable-2ubuntu0.24.04.1~esm1
godot
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 3.3.3-1.3
3.3.3-1.3
godot3
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 3.5.1-1.1
3.5.1-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-26825 is a high vulnerability (CVSS 7.8) in Godotengine Godot Engine, published February 8, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.60%, the 75th percentile. Fixed in godot 3.5.1-stable-1.

References

Show 7 moreShow less
MoveEnter Open