Vulnerability · Published Apr 1, 2026 · Assigned by VulDB
CVE-2026-5314Nothings stb TTF File stb_truetype.h stbtt_InitFont_internal out-of-bounds
Medium 4.3
In plain English
A medium-severity out-of-bounds read in stb from Nothings. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libstb | no fix listed | DEBIAN-CVE-2026-5314 |
| Debian:13 | libstb | no fix listed | DEBIAN-CVE-2026-5314 |
| Debian:14 | libstb | no fix listed | DEBIAN-CVE-2026-5314 |
| Ubuntu:22.04:LTS | libstb | no fix listed | UBUNTU-CVE-2026-5314 |
| Ubuntu:24.04:LTS | libstb | no fix listed | UBUNTU-CVE-2026-5314 |
| Ubuntu:25.10 | libstb | no fix listed | UBUNTU-CVE-2026-5314 |
| Ubuntu:26.04:LTS | libstb | no fix listed | UBUNTU-CVE-2026-5314 |
| Ubuntu:26.10 | libstb | no fix listed | UBUNTU-CVE-2026-5314 |
Affected products (as reported)
Weakness: CWE-125, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R
References
- VDB-354646 | Nothings stb TTF File stb_truetype.h stbtt_InitFont_internal out-of-bounds vdb-entry, technical-description
- VDB-354646 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #780558 | nothings stb (stb_truetype.h) ≤ 1.26 Out-of-Bounds Read third-party-advisory
- https://gist.github.com/d0razi/cb31a92f3205a4373f19b7da25946848 exploit