CVE-2026-5314 Details
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.
A heap buffer overflow vulnerability, classified as an out-of-bounds read, has been identified in Nothings Stb versions through 1.26. The issue arises in the function 'stbtt_InitFont_internal' within the 'stb_truetype.h' library, specifically when the TTF file handler processes font data. The vulnerability is triggered by the 'ttUSHORT()' function, which reads two bytes from the font data without proper validation of the offset, leading to an out-of-bounds read. This issue can be exploited remotely, and a public exploit is available.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/d0razi/cb31a92f3205a4373f19b7da25946848 | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/submit/780558 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/354646 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/354646/cti | [email protected] | Permissions RequiredVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nothings stb truetype.h | <= 1.26 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 30, 2026 | Initial Analysis | [email protected] |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 1, 2026 | New CVE Received | [email protected] |