cve.bz

CVE-2026-5315 nothings stb truetype.h: Out-of-bounds Read

2.1 lowExploit referenceEPSS 0.5%

Low (2.1) in nothings stb truetype.h. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability was determined in Nothings stb up to 1.26. The affected element is the function stbtt__buf_get8 in the library stb_truetype.h of the component TTF File Handler. Executing a manipulation can lead to out-of-bounds read. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.

Severity

CVSS 4.0

2.1 low
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-04-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-5315 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-5315?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-5315?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-5315 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nothings:stb_truetype.hthrough 1.26

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libstbno fix listedDEBIAN-CVE-2026-5315
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morelibstbno fix listedUBUNTU-CVE-2026-5315

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact vulnerability in Nothings stb, specifically within the `stb_truetype.h` library's TTF file handling, could allow a remote attacker to trigger an out-of-bounds read. By manipulating input, an attacker could cause a denial of service on systems processing malicious TrueType Font files. This affects Red Hat Community Projects, including packages distributed via EPEL.

Red Hat's mitigation

To mitigate this issue, avoid processing untrusted TrueType font files with applications that utilize the Nothings stb library. Restrict the sources of font files to trusted origins to prevent potential denial of service attacks.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-5315.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON