Medium severity · published Mar 17, 2022
CVE-2022-25515
stb_truetype.h v1.26 was discovered to contain a heap-buffer-overflow via the function ttULONG() at stb_truetype.h
6.5
CVSS
0.9%
EPSS
No
On KEV
Description
stb_truetype.h v1.26 was discovered to contain a heap-buffer-overflow via the function ttULONG() at stb_truetype.h. NOTE: Third party has disputed stating that the source code has also a disclaimer that it should only be used with trusted input.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
ST
Stb Truetype.h · Nothings
1.26 · source: NVD
Affected product
ST
Stb Truetype.h
Nothings
More from Stb Truetype.h
8.8
CVE-2026-5315
Nothings stb TTF File stb_truetype.h stbtt__buf_get8 out-of-bounds
8.8
CVE-2026-5314
Nothings stb TTF File stb_truetype.h stbtt_InitFont_internal out-of-bounds
8.8
CVE-2020-6623
stb stb_truetype.h through 1.22 has an assertion failure in stbtt__cff_get_index
8.8
CVE-2020-6622
stb stb_truetype.h through 1.22 has a heap-based buffer over-read in stbtt__buf_peek8
8.8
CVE-2020-6621
stb stb_truetype.h through 1.22 has a heap-based buffer over-read in ttUSHORT