CVE-2026-5185: Nothings stb_image · Heap-based Buffer Overflow
Affects Nothings stb_imageSource CVE Database V5
Public exploit available · CVSS 4.8 Medium.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 31 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Nothingsstb_image | Affected
| Fixed in– |
AI-suggested
Users should monitor the vendor's channels for updates. Until a fix is released, avoid processing untrusted multi-frame GIF files locally with vulnerable versions of stb_image. Consider applying additional local security controls to limit access to vulnerable applications or libraries.
Description
CVE-2026-5185 is a heap-based buffer overflow vulnerability in the Multi-frame GIF File Handler function stbi__gif_load_next within Nothings stb_image versions up to 2.30. The flaw requires local access to exploit and has a medium severity rating with a CVSS score of 4.8. The vulnerability allows manipulation that can cause memory corruption. The vendor was contacted but has not responded, and no patch or official remediation is currently available. Exploit code has been publicly released, increasing the risk of local attacks leveraging this issue.