Integer overflow in Nothings Stb Image.h
CVE-2022-28041
stb_image.h v2.27 was discovered to contain an integer overflow via the function stbi__jpeg_decode_block_prog_dc. This vulnerability allows attackers to cause a Denial of Service (DoS) via unspecified vectors.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.021, 81.9th percentile (scored ); 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/issues/1292 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/nothings/stb/pull/1297 (Patch, Third Party Advisory)
- FEDORA-2022-29327a4b98 (vendor-advisory)
- FEDORA-2022-fe84314a8e (vendor-advisory)
- FEDORA-2022-832689aa6b (vendor-advisory)
- FEDORA-2022-61f6ee6353 (vendor-advisory)
- FEDORA-2022-bc606b86f4 (vendor-advisory)
- FEDORA-2022-cc64b21327 (vendor-advisory)
- FEDORA-2022-c87bba6546 (vendor-advisory)
- FEDORA-2022-e22f1a8c17 (vendor-advisory)