| Name | CVE-2021-42715 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-3305-1, DLA-4493-1 |
| Debian Bugs | 1014532 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libstb (PTS) | bullseye | 0.0~git20200713.b42009b+ds-1 | vulnerable |
| bullseye (security) | 0.0~git20200713.b42009b+ds-1+deb11u1 | fixed | |
| bookworm | 0.0~git20220908.8b5f1f3+ds-1 | vulnerable | |
| trixie | 0.0~git20241109.5c20573+ds-1 | fixed | |
| forky, sid | 0.0~git20250907.fede005+ds-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libstb | source | buster | 0.0~git20180212.15.e6afb9c-1+deb10u1 | DLA-3305-1 | ||
| libstb | source | bullseye | 0.0~git20200713.b42009b+ds-1+deb11u1 | DLA-4493-1 | ||
| libstb | source | (unstable) | 0.0~git20230129.5736b15+ds-1 | 1014532 |
[bookworm] - libstb <no-dsa> (Minor issue)
https://github.com/nothings/stb/issues/1224
https://github.com/nothings/stb/pull/1223