Back
CVE-2021-42715An 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…
- 5.5MediumCVSS base score
- 1.3%Exploitation in 30 daysEPSS · top 29% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By mitre
- 2 days later
· 2 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.3% · top 29% of all CVEs (19 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
n/a
- affected n/a
References
References12
- https://github.com/nothings/stb/issues/1224 (opens in a new tab)x_transferred
- https://github.com/nothings/stb/pull/1223 (opens in a new tab)x_transferred
- FEDORA-2021-001f25d986 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-d1446cd1ac (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-f8ba4a690e (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-0511a38484 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-082bea5b34 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-3fc69d203c (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-8ea648186c (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2021-16d848834d (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-832689aa6b (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20230131 [SECURITY] [DLA 3305-1] libstb security update (opens in a new tab)mailing-listx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-29675 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-42715)Record last updated .