Use After Free in Nothings Stb Image.h
CVE-2022-28042
stb_image.h v2.27 was discovered to contain an heap-based use-after-free via the function stbi__jpeg_huff_decode.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.016, 76.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Nothings Stb Image.h — versions 2.27
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 34, 35, 36
Weakness classification (CWE)
References
- github.com/nothings/stb/pull/1297 (Patch, Third Party Advisory)
- github.com/nothings/stb/issues/1289 (Exploit, Third Party Advisory, Issue Tracking)
- FEDORA-2022-29327a4b98 (vendor-advisory)
- FEDORA-2022-fe84314a8e (vendor-advisory)
- FEDORA-2022-c8f6a39cf6 (vendor-advisory)
- [debian-lts-announce] 20230131 [SECURITY] [DLA 3305-1] libstb security update (mailing-list, Mailing List, Third Party Advisory)