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-07T15:16:00Z
Modified
2026-08-13T19:30:08Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H CVSS Calculator
  • 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 stb_truetype.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 stb_truetype.h (such as various game engines or graphics software) attempts to load, bake, or render this malformed font via stbtt_GetGlyphShape(), 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
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0~git20190817.1.052dce1-1

Ecosystem specific

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

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
0 Unknown 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_name": "libstb0",
            "binary_version": "0.0~git20210910.af1a5bc+ds-1"
        }
    ]
}

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
0 Unknown 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_name": "libstb0t64",
            "binary_version": "0.0~git20230129.5736b15+ds-1.2"
        }
    ]
}

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
0 Unknown 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_name": "libstb0t64",
            "binary_version": "0.0~git20250907.fede005+ds-1"
        }
    ]
}

Database specific

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