cve.bz

CVE-2026-5185 nothings stb image: Heap-based Buffer Overflow

1.9 lowEPSS 0.2%

Low (1.9) in nothings stb image. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

1.9 low
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

CVSS 3.1

5.3 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-122 Heap-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-5185 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-5185?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-5185?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-5185 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Nothings stb_image2.0
Nothings stb_image2.1
Nothings stb_image2.2
Nothings stb_image2.3
Nothings stb_image2.4
Nothings stb_image2.5
Nothings stb_image2.6
Nothings stb_image2.7
Nothings stb_image2.8
Nothings stb_image2.9
Nothings stb_image2.10
Nothings stb_image2.11
Nothings stb_image2.12
Nothings stb_image2.13
Nothings stb_image2.14
Nothings stb_image2.15
Nothings stb_image2.16
Nothings stb_image2.17
Nothings stb_image2.18
Nothings stb_image2.19
Nothings stb_image2.20
Nothings stb_image2.21
Nothings stb_image2.22
Nothings stb_image2.23
Nothings stb_image2.24
Nothings stb_image2.25
Nothings stb_image2.26
Nothings stb_image2.27
Nothings stb_image2.28
Nothings stb_image2.29
Nothings stb_image2.30

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libstbno fix listedDEBIAN-CVE-2026-5185
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morelibstbno fix listedUBUNTU-CVE-2026-5185

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON