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 · NVD

Severity by source

NVD 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
P
Scope
X

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:11 NVD
MEDIUM LOW
CVSS changed
Apr 29, 2026 - 01:11 NVD
5.3 (MEDIUM) 2.1 (LOW)
EUVD ID Assigned
Apr 01, 2026 - 22:16 euvd
EUVD-2026-18091
Analysis Generated
Apr 01, 2026 - 22:16 vuln.today
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.

AnalysisAI

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.

Technical ContextAI

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.

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.

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

Share

CVE-2026-5313 vulnerability details – vuln.today

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