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.
Conclusion & alert: CVE-2021-42715 is rated Moderate Risk (45.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.21%). Core evidence: EPSS rose +1.05% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.17% | 1.21% | +1.05% |
| 2 | 2026-03-09 | 0.14% | 0.17% | +0.03% |
| 3 | 2026-03-02 | — | 0.14% | — |
Full EPSS history (17 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.5 | 3.1 | MEDIUM |
|
1.8 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2021-42715 not yet assigned priority: Debian including 1 source packages (libstb), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2021-42715 |
gentoo
|
normal | CVE-2021-42715: 1 GLSA(s) (202409-15), 1 atom(s) (dev-libs/stb); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-42715 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-42715 |
ubuntu
|
medium | CVE-2021-42715 medium priority: Ubuntu including 1 source packages (libstb), 14 status rows across 14 suites (focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 9, needs-triage 5. | https://ubuntu.com/security/CVE-2021-42715 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| nothings | stb_image.h | >= 1.33, <= 2.27 | cpe:2.3:a:nothings:stb_image.h:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 33 | cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |