MEDIUM
CVE-2021-42715
CWE-835Published: October 21, 2021· Updated: Jun 17, 2026
5.5
CVSS v3.1
Official 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.
Technical Analysis
CVE-2021-42715 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation does not require any privileges, though user interaction (Required) is needed, which slightly reduces the risk of mass automated attacks.
A successful exploit results in availability disruption (denial of service), with a CVSS base score of 5.5.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.None
User InteractionRequired
ScopeUnchanged
Impact
ConfidentialityNone
IntegrityNone
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected Vendors & Products
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (24)
→
https://github.com/nothings/stb/issues/1224Issue Tracking · Third Party Advisory
→
https://github.com/nothings/stb/pull/1223Third Party Advisory
→
https://lists.debian.org/debian-lts-announce/2023/01/msg00045.htmlMailing List · Third Party Advisory
→
https://github.com/nothings/stb/issues/1224Issue Tracking · Third Party Advisory
→
https://github.com/nothings/stb/pull/1223Third Party Advisory
→
https://lists.debian.org/debian-lts-announce/2023/01/msg00045.htmlMailing List · Third Party Advisory
Quick Facts
CVE IDCVE-2021-42715
CVSS Score5.5 / 10
SeverityMEDIUM
WeaknessCWE-835
CISA KEVNo
Affected3 vendor(s)
PublishedOct 21, 2021
Related CVEs (CWE-835)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-42715 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.