Buffer overflow in Stb Project
CVE-2021-28021
Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h in stb 2.26 via a crafted JPEG file.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.014, 73.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Stb Project — versions 2.26
- Debian Linux — versions 10.0
- Fedoraproject Fedora — versions 34, 35
Weakness classification (CWE)
References
- github.com/nothings/stb/issues/1108 (Exploit, Third Party Advisory)
- FEDORA-2021-001f25d986 (vendor-advisory)
- FEDORA-2021-f8ba4a690e (vendor-advisory)
- FEDORA-2021-3fc69d203c (vendor-advisory)
- FEDORA-2021-8ea648186c (vendor-advisory)
- FEDORA-2021-16d848834d (vendor-advisory)
- FEDORA-2022-832689aa6b (vendor-advisory)
- [debian-lts-announce] 20230131 [SECURITY] [DLA 3305-1] libstb security update (mailing-list, Mailing List, Third Party Advisory)