Skip to main content

Stb CVE-2026-5313

| EUVDEUVD-2026-18091 LOW
Improper Resource Shutdown or Release (CWE-404)
2026-04-01 VulDB GHSA-2487-c6w9-prxm
2.1
CVSS 4.0 · Vendor: VulDB
View

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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

stb 2.12
stb 2.14
stb 2.28
stb 2.26
stb 2.25
stb 2.9
stb 2.4
stb 2.17
stb 2.22
stb 2.3
stb 2.11
stb 2.6
stb 2.13
stb 2.16
stb 2.8
stb 2.5
stb 2.24
stb 2.0
stb 2.29
stb 2.18
stb 2.21
stb 2.20
stb 2.30
stb 2.1
stb 2.7
stb 2.15
stb 2.2
stb 2.19
stb 2.27
stb 2.10
stb 2.23

Affected Packages

euvd stb no fix

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

Vendor (VulDB) PRIMARY 2.1 LOW
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
SUSE 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Red Hat 6.5 MEDIUM

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
CVE Published
Apr 01, 2026 - 21:30 nvd
MEDIUM 5.3

DescriptionCVE.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

EPSS Score
0.0%
Top 91% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Stb

View all

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy