Name | CVE-2022-25514 |
Description | ** DISPUTED ** stb_truetype.h v1.26 was discovered to contain a heap-buffer-overflow via the function ttUSHORT() 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libstb (PTS) | buster | 0.0~git20180212.15.e6afb9c-1 | vulnerable |
| bullseye | 0.0~git20200713.b42009b+ds-1 | vulnerable |
| bookworm, sid | 0.0~git20220908.8b5f1f3+ds-1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libstb | source | (unstable) | (unfixed) | unimportant | | |
Notes
https://github.com/nothings/stb/issues/1286
stb_truetype.h explicitly marked as unsuitable for untrusted files
Also, the stb_truetype API does not know the length of the input font file and therefore
cannot bounds check it.