CVE-2021-42715: Medium severity nothings stb vulnerability

Published Oct 21, 2021
·
Updated

An issue was discovered in stb stbimage.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 stbimage by submitting crafted HDR files.

Affected Software

5 affected components
Nothings Stb Image.h>=1.33<=2.27
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=10.0

Event History

Oct 21, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-42715?

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.

2

What is the severity of CVE-2021-42715?

The severity of CVE-2021-42715 is medium, with a severity value of 5.5.

3

How does CVE-2021-42715 affect the software?

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.

4

How can CVE-2021-42715 be exploited?

CVE-2021-42715 can be exploited by an attacker submitting crafted HDR files, potentially causing a denial of service in applications using stb_image.

5

How can CVE-2021-42715 be fixed?

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203