Buffer overflow in Nothings Stb

CVE-2026-5314

A vulnerability was found in Nothings stb up to 1.26. Impacted is the function stbtt_InitFont_internal in the library stb_truetype.h of the component TTF File Handler. Performing a manipulation results in out-of-bounds read. Remote exploitation of the attack is possible. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.

Vulnerability class: Buffer Overflow

EPSS: 0.007 (48.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.

Affected products

Weakness classification (CWE)

References

  • cna@vuldb.com (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
  • cna@vuldb.com (signature, Permissions Required, permissions-required, VDB Entry)
  • cna@vuldb.com (VDB Entry, Third Party Advisory, third-party-advisory)
  • cna@vuldb.com (Exploit, Third Party Advisory, exploit)

Frequently asked questions

What is CVE-2026-5314?
CVE-2026-5314 is a medium-severity vulnerability in Nothings Stb, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 4.3/10. Published 2026-04-01.
How severe is CVE-2026-5314?
Medium severity. CVSS v3 base score is 4.3 out of 10.