Skip to main content
VulnerabilityPublished

CVE-2026-5185: Nothings stb_image · Heap-based Buffer Overflow

Affects Nothings stb_imageSource CVE Database V5

0
Compare

Public exploit available · CVSS 4.8 Medium.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 31 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Nothingsstb_imageAffected
  • 2.0 – 2.30
31 affected builds
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.

References

Community reviews

Loading reviews…