CVE-2026-5185 | Nothings stb_image up to 2.30 Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow
VulDBArchived Mar 30, 2026✓ Full text saved
A vulnerability labeled as critical has been found 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. This vulnerability is reported as CVE-2026-5185 . The attack requires a local approach. Moreover, an exploit is present. The vendor was contacted early about this disclosure but did not respond in any way.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-354253 · CVE-2026-5185 · GCVE-100-354253
NOTHINGS STB_IMAGE UP TO 2.30 MULTI-FRAME GIF FILE STB_IMAGE.H STBI__GIF_LOAD_NEXT HEAP-BASED OVERFLOW
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
4.8 $0-$5k 1.27+
Summaryinfo
A vulnerability marked as critical has been reported in Nothings stb_image up to 2.30. This impacts the function stbi__gif_load_next of the file stb_image.h of the component Multi-frame GIF File Handler. This manipulation causes heap-based overflow. This vulnerability appears as CVE-2026-5185. The attack requires local access. In addition, an exploit is available. The vendor was contacted early about this disclosure but did not respond in any way.
Detailsinfo
A vulnerability has been found in Nothings stb_image up to 2.30 and classified as critical. Affected by this vulnerability is the function stbi__gif_load_next of the file stb_image.h of the component Multi-frame GIF File Handler. The manipulation with an unknown input leads to a heap-based overflow vulnerability. The CWE definition for the vulnerability is CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). As an impact it is known to affect confidentiality, integrity, and availability.
This vulnerability is known as CVE-2026-5185. The exploitation appears to be easy. An attack has to be approached locally. Technical details and also a public exploit are known.
It is declared as proof-of-concept. The vendor was contacted early about this disclosure but did not respond in any way.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
Productinfo
Vendor
Nothings
Name
stb_image
Version
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13
2.14
2.15
2.16
2.17
2.18
2.19
2.20
2.21
2.22
2.23
2.24
2.25
2.26
2.27
2.28
2.29
2.30
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 4.8
VulDB Base Score: 5.3
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: no mitigation known
Status: 🔍
0-Day Time: 🔒
Timelineinfo
03/30/2026 Advisory disclosed
03/30/2026 +0 days VulDB entry created
03/30/2026 +0 days VulDB entry last update
Sourcesinfo
Status: Not defined
CVE: CVE-2026-5185 (🔒)
GCVE (CVE): GCVE-0-2026-5185
GCVE (VulDB): GCVE-100-354253
scip Labs: https://www.scip.ch/en/?labs.20161013
Entryinfo
Created: 03/30/2026 21:23
Changes: 03/30/2026 21:23 (55)
Complete: 🔍
Submitter: d0razi
Cache ID: 99:C1B:101
Submitinfo
Accepted
Submit #780390: nothings stb stb_image.h <= 2.30 Heap-based Buffer Overflow (by d0razi)
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸