CVE-2026-5185

MEDIUM

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

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 5.3
EPSS 0.0001
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-119 CWE-122
Status published
Products (31)
Nothings/stb_image 2.0
Nothings/stb_image 2.1
Nothings/stb_image 2.10
Nothings/stb_image 2.11
Nothings/stb_image 2.12
Nothings/stb_image 2.13
Nothings/stb_image 2.14
Nothings/stb_image 2.15
Nothings/stb_image 2.16
Nothings/stb_image 2.17
... and 21 more
Published Mar 31, 2026
Tracked Since Mar 31, 2026