CVE-2026-5314
Description
A flaw was found in Nothings stb, specifically within the stbtt_InitFont_internal function in the stb_truetype.h library. A remote attacker can exploit this vulnerability by performing a manipulation that leads to an out-of-bounds read. This can result in a Denial of Service (DoS), making the affected component unavailable. The exploit for this vulnerability has been publicly disclosed.
Statement
This Moderate impact vulnerability in Nothings stb allows a remote attacker to cause a Denial of Service. An out-of-bounds read in the stbtt_InitFont_internal function, triggered by processing a manipulated TTF file, can render the affected component unavailable. This issue affects Red Hat Community Projects that utilize the stb library for TTF file handling, such as those distributed via EPEL.
Mitigation
To mitigate this issue, avoid processing untrusted TrueType font files with applications that utilize the `stb_truetype.h` library. Restricting the sources of font files to trusted origins can reduce the risk of exploitation.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.