Description
stb stb_image.h 2.19, as used in catimg, Emscripten, and other products, has a heap-based buffer overflow in the stbi__out_gif_code function.
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~git20190617.5.c72a95d-1 | — |
| Debian 13 | libstb | 0.0~git20190617.5.c72a95d-1 | — |
| Debian 12 | libstb | 0.0~git20190617.5.c72a95d-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 | love +9 | No fix yet | — |
| Ubuntu 26.04 LTS | love +9 | No fix yet | — |
| Ubuntu 25.10 | love +8 | No fix yet | — |
| Ubuntu 25.10 | mame | 0.277+dfsg.1-4ubuntu0.1 | USN-7913-1 |
| Ubuntu 24.04 LTS | love +8 | No fix yet | — |
| Ubuntu 22.04 LTS | love +10 | No fix yet | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | love +10 | No fix yet | — |
| Ubuntu 18.04 LTS | love +7 | No fix yet | — |
| Ubuntu 16.04 LTS | love +5 | No fix yet | — |
| Ubuntu Pro 24.04 LTS | mame | 0.264+dfsg.1-1ubuntu0.1~esm1 | USN-7913-1 |
| Ubuntu Pro 22.04 LTS | mame | 0.242+dfsg.1-1ubuntu0.1~esm1 | USN-7913-1 |
| Ubuntu Pro 20.04 LTS | mame | 0.220+dfsg.1-1ubuntu0.1~esm1 | USN-7913-1 |
| Ubuntu Pro 18.04 LTS | mame | 0.195+dfsg.1-2ubuntu0.1~esm1 | USN-7913-1 |
Advisories 2
- USN-7913-1 mame vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3305-1 libstb - security update Debian Security (DSA / DLA) · Mar 9, 2026