CVE-2026-5314

Nothings stb TTF File stb_truetype.h stbtt_InitFont_internal out-of-bounds

Published Apr 1, 2026 CVSS 4.0 · 5.3 Medium EPSS 1.0% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an out-of-bounds read in the function stbtt_InitFont_internal of the stb_truetype.h header in the Nothings stb library. An attacker can manipulate a TrueType font file to trigger the out-of-bounds read, potentially allowing remote exploitation. The description indicates that remote exploitation is possible, raising the risk of compromise of confidentiality, integrity, and availability of systems processing malicious font files.

Affected Systems

The issue affects the Nothings stb library up to and including version 1.26. Users of this library should verify whether their deployments rely on these versions and consider upgrading to a fixed release if one becomes available.

Risk and Exploitability

The CVSS score of 5.3 places the vulnerability in the medium severity range. The EPSS score is not provided, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves a remote adversary delivering a crafted TTF file to an application that uses the vulnerable library, such as a graphic viewer or web browser that renders fonts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Nothings stb library to a version newer than 1.26 when it becomes available.

Generated by OpenCVE AI on April 2, 2026 at 04:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nothings stb Truetype.h
CPEs cpe:2.3:a:nothings:stb_truetype.h:*:*:*:*:*:*:*:*
Vendors & Products Nothings stb Truetype.h
Type Values Removed Values Added
First Time appeared Nothings
Nothings stb
Vendors & Products Nothings
Nothings stb
Type Values Removed Values Added
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.
Title Nothings stb TTF File stb_truetype.h stbtt_InitFont_internal out-of-bounds
Weaknesses CWE-119
CWE-125
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.3, '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'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-125

    Out-of-bounds Read

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Apr 2, 2026, 1:50 PM
Reserved
Apr 1, 2026, 12:40 PM
Status
Analyzed
Published
Apr 1, 2026, 11:17 PM
Modified
Oct 26, 2026, 9:10 PM
Severity
Moderate
Public date
Apr 1, 2026, 10:15 PM