CVE-2026-5185 Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow
MediumCVSS 4.8
EPSS 0.16%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
A security flaw has been discovered in Nothings stb_image up to 2.30. This affects the function stbi__gif_load_next of the file stb_image.h of the component Multi-frame GIF File Handler. The manipulation results in heap-based buffer overflow. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Upgrade path
8 packages: 0 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libstb(Debian 12) | = 0.0~git20220908.8b5f1f3+ds-1; = 0.0~git20230129.5736b15+ds-1; = 0.0~git20230129.5736b15+ds-1.1; = 0.0~git20230129.5736b15+ds-1.1~exp1 +5 more | No fix listed | No fix yet |
| debian/libstb(Debian 13) | = 0.0~git20241109.5c20573+ds-1; = 0.0~git20250907.fede005+ds-1; All versions | No fix listed | No fix yet |
| debian/libstb(Debian 14) | = 0.0~git20241109.5c20573+ds-1; = 0.0~git20250907.fede005+ds-1; All versions | No fix listed | No fix yet |
| ubuntu/libstb(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libstb(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libstb(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libstb(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| nothings stb_image | = 2.0; = 2.1; = 2.2; = 2.3 +27 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nothings stb_image | = 2.0 | No fix listed |
| nothings stb_image | = 2.1 | No fix listed |
| nothings stb_image | = 2.2 | No fix listed |
| nothings stb_image | = 2.3 | No fix listed |
| nothings stb_image | = 2.4 | No fix listed |
| nothings stb_image | = 2.5 | No fix listed |
| nothings stb_image | = 2.6 | No fix listed |
| nothings stb_image | = 2.7 | No fix listed |
| nothings stb_image | = 2.8 | No fix listed |
| nothings stb_image | = 2.9 | No fix listed |
| nothings stb_image | = 2.10 | No fix listed |
| nothings stb_image | = 2.11 | No fix listed |
| nothings stb_image | = 2.12 | No fix listed |
| nothings stb_image | = 2.13 | No fix listed |
| nothings stb_image | = 2.14 | No fix listed |
| nothings stb_image | = 2.15 | No fix listed |
| nothings stb_image | = 2.16 | No fix listed |
| nothings stb_image | = 2.17 | No fix listed |
| nothings stb_image | = 2.18 | No fix listed |
| nothings stb_image | = 2.19 | No fix listed |
| nothings stb_image | = 2.20 | No fix listed |
| nothings stb_image | = 2.21 | No fix listed |
| nothings stb_image | = 2.22 | No fix listed |
| nothings stb_image | = 2.23 | No fix listed |
| nothings stb_image | = 2.24 | No fix listed |
Show 25 more
| Product | Affected versions | Fixed in |
|---|---|---|
| nothings stb_image | = 2.25 | No fix listed |
| nothings stb_image | = 2.26 | No fix listed |
| nothings stb_image | = 2.27 | No fix listed |
| nothings stb_image | = 2.28 | No fix listed |
| nothings stb_image | = 2.29 | No fix listed |
| nothings stb_image | = 2.30 | No fix listed |
| debian/libstb(Debian:12) | All versions | No fix listed |
| debian/libstb(Debian:12) | = 0.0~git20220908.8b5f1f3+ds-1 | No fix listed |
| debian/libstb(Debian:12) | = 0.0~git20230129.5736b15+ds-1 | No fix listed |
| debian/libstb(Debian:12) | = 0.0~git20230129.5736b15+ds-1.1 | No fix listed |
| debian/libstb(Debian:12) | = 0.0~git20230129.5736b15+ds-1.1~exp1 | No fix listed |
| debian/libstb(Debian:12) | = 0.0~git20230129.5736b15+ds-1.2 | No fix listed |
| debian/libstb(Debian:12) | = 0.0~git20240715.f7f20f39fe4f+ds-1 | No fix listed |
| debian/libstb(Debian:12) | = 0.0~git20241109.5c20573+ds-1 | No fix listed |
| debian/libstb(Debian:12) | = 0.0~git20250907.fede005+ds-1 | No fix listed |
| debian/libstb(Debian:13) | All versions | No fix listed |
| debian/libstb(Debian:13) | = 0.0~git20241109.5c20573+ds-1 | No fix listed |
| debian/libstb(Debian:13) | = 0.0~git20250907.fede005+ds-1 | No fix listed |
| debian/libstb(Debian:14) | All versions | No fix listed |
| debian/libstb(Debian:14) | = 0.0~git20241109.5c20573+ds-1 | No fix listed |
| debian/libstb(Debian:14) | = 0.0~git20250907.fede005+ds-1 | No fix listed |
| ubuntu/libstb(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libstb(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libstb(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libstb(Ubuntu:26.10) | All versions | No fix listed |
References
- VDB-354253 | Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow technical-description vdb-entry
- VDB-354253 | CTI Indicators (IOB, IOC, IOA) permissions-required signature
- Submit #780390 | nothings stb stb_image.h <= 2.30 Heap-based Buffer Overflow third-party-advisory
- Debian Security Tracker CVE-2026-5185 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking