Vulnerabilities · 2022 · Nothings
CVE-2022-28042
Nothings Stb Image.h vulnerability
stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode.
Affected products
Stb Image.h, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nothings Stb Image.h runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nothings/stb/pull/1297 · Patch
- github.com/nothings/stb/issues/1289 · Exploit
- lists.debian.org/debian-lts-announce/2023/01/msg00045.html · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M
- nvd.nist.gov/vuln/detail/CVE-2022-28042
- cve.org/CVERecord?id=CVE-2022-28042
More vulnerabilities in Nothings products
CVE-2025-3409CVE-2025-3408CVE-2025-3407CVE-2025-3406CVE-2023-47212CVE-2023-45682CVE-2023-45681CVE-2023-45680All 38
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.