CVE-2026-5314: Nothings stb TTF File stb_truetype.h stbtt_InitFont_internal out-of-bounds

Published Apr 1, 2026
·
Updated

A vulnerability was found in Nothings stb up to 1.26. Impacted is the function stbttInitFontinternal in the library stbtruetype.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 Software

2 affected components
Nothings stb<=1.26
Nothings Stb Truetype.h<=1.26

Event History

Apr 1, 2026
CVE Published
via MITRE·10:15 PM
Data Sourced
via MITRE·10:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5314?

CVE-2026-5314 is classified as a medium-severity vulnerability due to the potential for out-of-bounds read operations.

2

How do I fix CVE-2026-5314?

To mitigate CVE-2026-5314, upgrade the Nothings stb library to version 1.27 or later.

3

What type of vulnerability is CVE-2026-5314?

CVE-2026-5314 is an out-of-bounds read vulnerability in the TTF File Handler component of the Nothings stb library.

4

What versions of Nothings stb are affected by CVE-2026-5314?

CVE-2026-5314 affects all versions of Nothings stb up to and including version 1.26.

5

What component is impacted by CVE-2026-5314?

CVE-2026-5314 impacts the stbtt_InitFont_internal function within the stb_truetype.h file of the Nothings stb library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203