Name | CVE-2022-28042 |
Description | stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3305-1 |
Debian Bugs | 1014531 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libstb (PTS) | buster (security), buster, buster (lts) | 0.0~git20180212.15.e6afb9c-1+deb10u1 | fixed |
| bullseye | 0.0~git20200713.b42009b+ds-1 | vulnerable |
| bookworm | 0.0~git20220908.8b5f1f3+ds-1 | vulnerable |
| sid, trixie | 0.0~git20240715.f7f20f39fe4f+ds-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libstb | source | buster | 0.0~git20180212.15.e6afb9c-1+deb10u1 | | DLA-3305-1 | |
libstb | source | (unstable) | 0.0~git20230129.5736b15+ds-1 | | | 1014531 |
Notes
[bookworm] - libstb <no-dsa> (Minor issue)
[bullseye] - libstb <no-dsa> (Minor issue)
https://github.com/nothings/stb/issues/1289
https://github.com/nothings/stb/pull/1297
https://github.com/nothings/stb/commit/84b94010a7b08003cc3fb93635582849398e7ae2
https://github.com/nothings/stb/commit/96fe76c21308653d22672e986dd39506f6871421
https://github.com/nothings/stb/commit/47164e4086c1349ef3042fb04e0f7f7ceaf1fcee
https://github.com/nothings/stb/commit/5cfc2a744ad7047cda2396cc67772f313a46093d