CVE-2022-25515

NameCVE-2022-25515
Descriptionstb_truetype.h v1.26 was discovered to contain a heap-buffer-overflow via the function ttULONG() at stb_truetype.h.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libstb (PTS)buster0.0~git20180212.15.e6afb9c-1vulnerable
bullseye0.0~git20200713.b42009b+ds-1vulnerable
bookworm, sid0.0~git20210910.af1a5bc+ds-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libstbsource(unstable)(unfixed)unimportant

Notes

https://github.com/nothings/stb/issues/1288
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.

Search for package or bug name: Reporting problems