CVE-2026-5185
4.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Nothings | stb_image | 2.0 | affected |
| Nothings | stb_image | 2.1 | affected |
| Nothings | stb_image | 2.2 | affected |
| Nothings | stb_image | 2.3 | affected |
| Nothings | stb_image | 2.4 | affected |
| Nothings | stb_image | 2.5 | affected |
| Nothings | stb_image | 2.6 | affected |
| Nothings | stb_image | 2.7 | affected |
| Nothings | stb_image | 2.8 | affected |
| Nothings | stb_image | 2.9 | affected |
| Nothings | stb_image | 2.10 | affected |
| Nothings | stb_image | 2.11 | affected |
| Nothings | stb_image | 2.12 | affected |
| Nothings | stb_image | 2.13 | affected |
| Nothings | stb_image | 2.14 | affected |
| Nothings | stb_image | 2.15 | affected |
| Nothings | stb_image | 2.16 | affected |
| Nothings | stb_image | 2.17 | affected |
| Nothings | stb_image | 2.18 | affected |
| Nothings | stb_image | 2.19 | affected |
| Nothings | stb_image | 2.20 | affected |
| Nothings | stb_image | 2.21 | affected |
| Nothings | stb_image | 2.22 | affected |
| Nothings | stb_image | 2.23 | affected |
| Nothings | stb_image | 2.24 | affected |
| Nothings | stb_image | 2.25 | affected |
| Nothings | stb_image | 2.26 | affected |
| Nothings | stb_image | 2.27 | affected |
| Nothings | stb_image | 2.28 | affected |
| Nothings | stb_image | 2.29 | affected |
| Nothings | stb_image | 2.30 | affected |
Weaknesses
- CWE-122: Heap-based Buffer Overflow
- CWE-119: Memory Corruption
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.