What’s Vulnerable › Vulnerabilities
CVE-2026-5185: Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-31 · updated 2026-06-17
- Weakness: CWE-119
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.
Affected products
- Nothings stb_image: 2.0, 2.1, 2.2, 2.3, 2.4, 2.5 (+25)
References
Get alerted when CVE-2026-5185 or the next vulnerability affects your stack