CVE-2021-42715

stb: DoS in stb_image HDR loader via a crafted file

Published Oct 21, 2021 CVSS 3.1 · 5.5 Medium EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3305-1 libstb security update
Debian DLA Debian DLA DLA-4493-1 libstb security update
EUVD EUVD EUVD-2021-29675 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 3:38 AM
Reserved
Oct 19, 2021, 12:00 AM
Status
Modified
Published
Oct 21, 2021, 7:15 PM
Modified
Jun 17, 2026, 4:09 AM
Severity
Moderate
Public date
Oct 7, 2021, 12:00 AM