CVE-2021-42715

MEDIUM

Nothings Stb Image.h < 2.27 - Infinite Loop

Title source: rule
STIX 2.1

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.

References (12)

Core 12
Core References
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html
Issue Tracking, Third Party Advisory
https://github.com/nothings/stb/issues/1224

Scores

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 38.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-835
Status published
Products (5)
debian/debian_linux 10.0
fedoraproject/fedora 33
fedoraproject/fedora 34
fedoraproject/fedora 35
nothings/stb_image.h 1.33 - 2.27
Published Oct 21, 2021
Tracked Since Feb 18, 2026