UBUNTU-CVE-2021-26825

Source
https://ubuntu.com/security/CVE-2021-26825
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-26825.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-26825
Upstream
Downstream
Related
Published
2021-02-08T15:15:00Z
Modified
2025-07-18T16:46:41Z
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
  • Ubuntu - medium
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

Ubuntu:Pro:20.04:LTS / godot

Package

Name
godot
Purl
pkg:deb/ubuntu/godot@3.2-stable-2ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2-stable-2ubuntu0.1~esm1

Affected versions

3.*

3.0.6-2build1
3.0.6-2build2
3.2-stable-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "godot3",
            "binary_version": "3.2-stable-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-dbgsym",
            "binary_version": "3.2-stable-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-runner",
            "binary_version": "3.2-stable-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-runner-dbgsym",
            "binary_version": "3.2-stable-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-server",
            "binary_version": "3.2-stable-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-server-dbgsym",
            "binary_version": "3.2-stable-2ubuntu0.1~esm1"
        }
    ]
}

Ubuntu:22.04:LTS / godot

Package

Name
godot
Purl
pkg:deb/ubuntu/godot@3.2.3-stable-1build2?arch=source&distro=jammy

Affected ranges

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

Affected versions

3.*

3.2.3-stable-1
3.2.3-stable-1build1
3.2.3-stable-1build2

Ubuntu:Pro:22.04:LTS / godot

Package

Name
godot
Purl
pkg:deb/ubuntu/godot@3.2.3-stable-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.3-stable-1ubuntu0.1~esm1

Affected versions

3.*

3.2.3-stable-1
3.2.3-stable-1build1
3.2.3-stable-1build2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "godot3",
            "binary_version": "3.2.3-stable-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-dbgsym",
            "binary_version": "3.2.3-stable-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-runner",
            "binary_version": "3.2.3-stable-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-runner-dbgsym",
            "binary_version": "3.2.3-stable-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-server",
            "binary_version": "3.2.3-stable-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "godot3-server-dbgsym",
            "binary_version": "3.2.3-stable-1ubuntu0.1~esm1"
        }
    ]
}