Description
stb_image.h v2.27 was discovered to contain an integer overflow via the function stbi__jpeg_decode_block_prog_dc. This vulnerability allows attackers to cause a Denial of Service (DoS) via unspecified vectors.
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~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 |
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 | — |
Advisories 2
- 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
References
- https://github.com/nothings/stb/issues/1292
- https://github.com/nothings/stb/pull/1297
- FEDORA-2022-29327a4b98 vendor-advisory
- FEDORA-2022-fe84314a8e vendor-advisory
- FEDORA-2022-832689aa6b vendor-advisory
- FEDORA-2022-61f6ee6353 vendor-advisory
- FEDORA-2022-bc606b86f4 vendor-advisory
- FEDORA-2022-cc64b21327 vendor-advisory
- FEDORA-2022-c87bba6546 vendor-advisory
- FEDORA-2022-e22f1a8c17 vendor-advisory
- FEDORA-2022-c8f6a39cf6 vendor-advisory
- FEDORA-2022-0125d9cd29 vendor-advisory
- [debian-lts-announce] 20230131 [SECURITY] [DLA 3305-1] libstb security update mailing-list