Description
Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h in stb 2.26 via a crafted JPEG file.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libstb | 0.0~git20220908.8b5f1f3+ds-1 | — |
| Debian 13 | libstb | 0.0~git20220908.8b5f1f3+ds-1 | — |
| Debian 12 | libstb | 0.0~git20220908.8b5f1f3+ds-1 | — |
| 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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libstb | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.3 | zxing-cpp | 1.2.0-9.7.1 | openSUSE-SU-2022:0157-1 |
Advisories 5
- DLA-3305-1 libstb - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4493-1 libstb - security update Debian Security (DSA / DLA) · Feb 26, 2026
- SUSE-SU-2022:0157-1 Security update for zxing-cpp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0163-1 Security update for zxing-cpp SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:0157-1 Security update for zxing-cpp SUSE / openSUSE Security Updates · May 7, 2025
References
- https://github.com/nothings/stb/issues/1108
- FEDORA-2021-001f25d986 vendor-advisory
- FEDORA-2021-f8ba4a690e vendor-advisory
- FEDORA-2021-3fc69d203c vendor-advisory
- FEDORA-2021-8ea648186c vendor-advisory
- FEDORA-2021-16d848834d vendor-advisory
- FEDORA-2022-832689aa6b vendor-advisory
- [debian-lts-announce] 20230131 [SECURITY] [DLA 3305-1] libstb security update mailing-list