Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
|
| Impact | The CVSS 5.3 score reflects moderate severity with a network attack vector and low complexity, but the impact is limited to availability (VA:L). CVSS vector analysis shows this requires user interaction (UI:P) and no privileges (PR:N), making it a user-dependent attack. The presence of publicly available exploit code (E:P indicator in CVSS) combined with lack of vendor response creates real operational risk, particularly for applications embedding stb_image.h that process untrusted image files. However, the denial-of-service impact (not remote code execution) and requirement for user interaction to open a malicious file limit real-world urgency. The absence of CISA KEV confirmation despite public disclosure suggests limited active exploitation in the wild. Organizations using stb should prioritize this based on whether they parse GIF files from untrusted sources in production environments. |
| Exploit ScenarioDerived | An attacker crafts a malicious GIF file with specially structured GIF headers and data chunks designed to trigger uncontrolled resource consumption in the stbi__gif_load_next function. The attacker hosts this file on a website or sends it via email. A user downloads and opens the GIF in an application built with vulnerable stb_image.h (or a tool using such an application attempts to process it), triggering a denial of service condition that crashes the application. Publicly available proof-of-concept code exists, lowering the technical barrier for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Denial of service vulnerability in Nothings stb image library (stb_image.h) affecting GIF decoder function stbi__gif_load_next allows remote attackers to trigger application crashes through specially crafted GIF files. The vulnerability impacts stb versions up to 2.30, requires user interaction to open a malicious GIF, and has publicly available exploit code with no vendor patch available despite early disclosure.
RemediationAI
No vendor-released patch identified at time of analysis. The vendor was contacted early about this disclosure but did not respond. Organizations should monitor the official stb GitHub repository (https://github.com/nothings/stb) for security updates and consider either upgrading stb when a patched version is released or implementing input validation to reject malformed GIF files before passing them to stbi__gif_load_next. As a workaround, disable GIF decoding functionality if not required, or restrict image file processing to trusted sources only. Applications should add defensive error handling around image loading operations to gracefully handle decoder failures rather than allowing crashes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the GIF decoder component (stbi__gif_load_next function) of stb_image.h, a widely-used single-header C image loading library. stb_image.h is a popular image processing library used across many applications for parsing multiple image formats including GIF, PNG, and JPEG. The root cause is classified as CWE-404 (uncontrolled resource consumption), indicating the GIF decoder likely fails to properly validate or limit resource allocation when processing malformed GIF structures, leading to memory exhaustion, buffer overrun, or infinite loops that crash the hosting application. The CPE cpe:2.3:a:nothings:stb:*:*:*:*:*:*:*:* indicates all stb library versions through 2.30 are affected.
Know when Stb gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability has been found in Nothings stb up to 2.30. This issue affects the function stbi__gif_load_next in the library stb_image.h of the component GIF Decoder. Such manipulation leads to denial of service. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
stb_image.h (aka the stb image loader) 2.23 has a heap-based buffer over-read in stbi__tga_load, leading to Information
STB v2.27 was discovered to contain an integer shift of invalid size in the component stbi__jpeg_decode_block_prog_ac. R
Buffer overflow vulnerability in function stbi__extend_receive in stb_image.h in stb 2.26 via a crafted JPEG file. Rated
Integer overflow in the image-encoding routines of nothings/stb (stb_image_write.h, stb through version 1.16) allows rem
Integer overflow in the hexwave_init() function of Nothings stb (stb_hexwave.h) corrupts allocation sizing when an appli
Out-of-bounds write in Nothings stb library up to version 1.22 allows remote attackers to corrupt memory and potentially
Resource exhaustion in Nothings stb library versions up to 1.22 allows unauthenticated remote attackers to cause denial
Out-of-bounds read in Nothings stb library up to version 1.26 allows remote attackers to trigger information disclosure
Double free vulnerability in Nothings stb library (up to version 2.30) in the multi-frame GIF file handler function stbi
Same weakness CWE-404 – Improper Resource Shutdown or Release
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Medium| Product | Status |
|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| openSUSE Leap 15.3 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
EUVD-2026-18091
GHSA-2487-c6w9-prxm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB