CVE-2021-26825

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-26825
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-26825.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-26825
Related
Published
2021-02-08T15:15:12Z
Modified
2025-01-08T07:59:46.207595Z
Downstream
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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::loadimage() function at line: const sizet buffersize = (tgaheader.imagewidth * tgaheader.imageheight) * pixelsize; 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.

References

Affected packages

Debian:11 / godot

Package

Name
godot
Purl
pkg:deb/debian/godot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.2.3-stable-1
3.5.1-stable-1
3.5.1-stable-2
3.5.2-stable-1
3.5.2-stable-2
3.6+ds-1
3.6+ds-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / godot

Package

Name
godot
Purl
pkg:deb/debian/godot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.2.3-stable-1
3.5.1-stable-1
3.5.1-stable-2
3.5.2-stable-1
3.5.2-stable-2
3.6+ds-1
3.6+ds-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / godot

Package

Name
godot
Purl
pkg:deb/debian/godot?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5.1-stable-1

Affected versions

3.*

3.2.3-stable-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/godotengine/godot

Affected ranges

Type
GIT
Repo
https://github.com/godotengine/godot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

1.*

1.0-stable
1.1-stable

2.*

2.0-stable

3.*

3.0-stable
3.1-stable
3.2-stable