First published: Thu Oct 21 2021(Updated: )
An issue was discovered in stb stb_image.h 1.33 through 2.27. The HDR loader parsed truncated end-of-file RLE scanlines as an infinite sequence of zero-length runs. An attacker could potentially have caused denial of service in applications using stb_image by submitting crafted HDR files.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Nothings Stb Image.h | >=1.33<=2.27 | |
Fedoraproject Fedora | =33 | |
Fedoraproject Fedora | =34 | |
Fedoraproject Fedora | =35 | |
Debian Debian Linux | =10.0 | |
>=1.33<=2.27 | ||
=33 | ||
=34 | ||
=35 | ||
=10.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-42715 is a vulnerability discovered in stb stb_image.h 1.33 through 2.27 where the HDR loader parsed truncated end-of-file RLE scanlines as an infinite sequence of zero-length runs.
The severity of CVE-2021-42715 is medium, with a severity value of 5.5.
CVE-2021-42715 affects the software Nothings Stb Image.h versions 1.33 through 2.27, as well as Fedora versions 33, 34, and 35, and Debian Linux version 10.0.
CVE-2021-42715 can be exploited by an attacker submitting crafted HDR files, potentially causing a denial of service in applications using stb_image.
To fix CVE-2021-42715, users should update to the latest version of stb_image.h (2.28 or later) and follow any recommended security guidelines from the software vendor.