| Name | CVE-2021-28021 |
| Description | Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h in stb 2.26 via a crafted JPEG file. |
| 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 |
| Debian Bugs | 1014530 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libstb (PTS) | bullseye | 0.0~git20200713.b42009b+ds-1 | vulnerable |
| bookworm | 0.0~git20220908.8b5f1f3+ds-1 | fixed |
| 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 | (unstable) | 0.0~git20220908.8b5f1f3+ds-1 | | | 1014530 |
Notes
[bullseye] - libstb <no-dsa> (Minor issue)
https://github.com/nothings/stb/issues/1108
https://github.com/nothings/stb/commit/86b7570cfba845e8209c6aec2d15e487bb1d8bb4