Skip to content
OpenAdvisories
Unscored CVE-2021-42715 EUVD-2021-29675GHSA-x76g-p4rm-4xch

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 sequ…

Published Oct 21, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libstb 0.0~git20230129.5736b15+ds-1 —
Debian 13 libstb 0.0~git20230129.5736b15+ds-1 —
Debian 12 libstb No fix yet —
Debian 11 libstb 0.0~git20200713.b42009b+ds-1+deb11u1 DLA-4493-1
Debian 10 libstb 0.0~git20180212.15.e6afb9c-1+deb10u1 DLA-3305-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libstb No fix yet —
Ubuntu 26.04 LTS libstb No fix yet —
Ubuntu 25.10 libstb No fix yet —
Ubuntu 24.04 LTS libstb No fix yet —
Ubuntu 22.04 LTS libstb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libstb No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP3 zxing-cpp 1.2.0-9.7.1 SUSE-SU-2022:0157-1
SLES 12 SP5 zxing-cpp 1.2.0-8.6.1 SUSE-SU-2022:0163-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 zxing-cpp 1.2.0-9.7.1 openSUSE-SU-2022:0157-1

Advisories 5

References