Buffer overflow in Nothings Stb_image

CVE-2026-5185

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 overfl…

Vulnerability class: Buffer Overflow

EPSS: 0.000 (3.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-5185?
CVE-2026-5185 is a medium-severity vulnerability in Nothings Stb_image, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.3/10. Published 2026-03-31.
How severe is CVE-2026-5185?
Medium severity. CVSS v3 base score is 5.3 out of 10.