UBUNTU-CVE-2026-18497

Source
https://ubuntu.com/security/CVE-2026-18497
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18497.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-18497
Upstream
  • CVE-2026-18497
Published
2026-08-11T00:00:00Z
Modified
2026-08-12T04:30:07.982405175Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

A heap-buffer-overflow vulnerability exists in the nothings stb TrueType library, up to version 1.26, that is used for parsing TrueType font files. The vulnerability exists in the stbtt_GetGlyphShapeTT() function within the nothings stbtruetype.h library when parsing malformed TTF (TrueType Font) files. The vulnerability resides in the glyph data parsing path. An attacker can craft a malformed TTF file with an inflated endPtsOfContours value and truncate the remaining glyph data. When an application utilizing stbtruetype.h (such as various game engines or graphics software) attempts to load, bake, or render this malformed font via stbttGetGlyphShape(), the parser will attempt to read past the end of the glyph data buffer, triggering the out-of-bounds read.

References

Affected packages

Ubuntu:20.04:LTS / libstb

Package

Name
libstb
Purl
pkg:deb/ubuntu/libstb?arch=source&distro=focal

Affected ranges

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

Affected versions

0.*
0.0~git20190817.1.052dce1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.0~git20190817.1.052dce1-1",
            "binary_name": "libstb0"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18497.json"

Ubuntu:22.04:LTS / libstb

Package

Name
libstb
Purl
pkg:deb/ubuntu/libstb?arch=source&distro=jammy

Affected ranges

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

Affected versions

0.*
0.0~git20200713.b42009b+ds-1
0.0~git20210910.af1a5bc+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.0~git20210910.af1a5bc+ds-1",
            "binary_name": "libstb0"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18497.json"

Ubuntu:24.04:LTS / libstb

Package

Name
libstb
Purl
pkg:deb/ubuntu/libstb?arch=source&distro=noble

Affected ranges

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

Affected versions

0.*
0.0~git20230129.5736b15+ds-1
0.0~git20230129.5736b15+ds-1.1
0.0~git20230129.5736b15+ds-1.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.0~git20230129.5736b15+ds-1.2",
            "binary_name": "libstb0t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18497.json"

Ubuntu:26.04:LTS / libstb

Package

Name
libstb
Purl
pkg:deb/ubuntu/libstb?arch=source&distro=resolute

Affected ranges

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

Affected versions

0.*
0.0~git20241109.5c20573+ds-1
0.0~git20250907.fede005+ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.0~git20250907.fede005+ds-1",
            "binary_name": "libstb0t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-18497.json"