All reports
Medium

stb: DoS in stb_image HDR loader via a crafted file

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-42715

Probability of exploitation in the next 30 days: 1.30%

FIRST EPSS · 2026-11-22

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.