CVE-2026-5185CWE-119CWE-122

Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow

Medium · published March 31, 2026

CVSS v4.0
4.8
EPSS
0%
Percentile
6.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
4.8 · MEDIUM
Vector
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
EPSS
0.00169 · 6.0th percentile
Weaknesses
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer; CWE-122 · Heap-based Buffer Overflow
Published
2026-03-31T06:45Z
EPSS history
Timeline
  • 31 MAR 06:45Z
    Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow
    cvelistv5