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.

References (3)

Core 3
Core References
Vdb Entry, Technical Description vdb-entry technical-description
VDB-354253 | Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow
https://vuldb.com/vuln/354253
Signature, Permissions Required signature permissions-required
VDB-354253 | CTI Indicators (IOB, IOC, IOA)
https://vuldb.com/vuln/354253/cti
Third Party Advisory third-party-advisory
Submit #780390 | nothings stb stb_image.h <= 2.30 Heap-based Buffer Overflow
https://vuldb.com/submit/780390

Scores

CVSS v3 5.3
EPSS 0.0015
EPSS Percentile 4.9%
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