Skip to main content

Stb EUVDEUVD-2026-17340

| CVE-2026-5186 LOW
Double Free (CWE-415)
2026-03-31 VulDB GHSA-593x-hf83-hmrv
1.9
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Impact

CVSS 5.3 (AV:L/AC:L/PR:L) indicates a local attack requiring low privilege user access with low complexity. The CVSS vector shows information disclosure (C:L), integrity compromise (I:L), and availability impact (A:L). The evidence (E:P) modifier confirms public exploit availability. EPSS is not provided, but the combination of published exploit code, memory corruption primitive (double free), and low attack complexity creates moderate real-world risk despite the local-only attack vector. This is not a critical vulnerability for remote-facing applications, but poses significant risk in multi-user systems, containerized environments, or applications processing untrusted GIF files from local sources. The vendor's non-response limits confidence in remediation timeline, elevating practical risk for users of the library.

Exploit ScenarioDerived

A local user on a multi-user system crafts a malicious GIF file and places it in a shared directory or uploads it to an application that uses stb_image.h for processing. When the application or another user's process loads the malicious GIF through stbi__load_gif_main, the double free condition is triggered during multi-frame parsing. The heap corruption allows the attacker to read adjacent memory (information disclosure) or, under favorable heap conditions, potentially overwrite function pointers or other critical data structures to achieve privilege escalation or code execution. Public exploit code documented in VulDB reduces the barrier for attackers to weaponize this vulnerability.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 31, 2026

Double free vulnerability in Nothings stb library (up to version 2.30) in the multi-frame GIF file handler function stbi__load_gif_main allows local authenticated attackers to cause information disclosure and memory corruption. Public exploit code is available. The vendor did not respond to early disclosure notification, leaving affected users without an official patch.

RemediationAI

Update to stb library version 2.31 or later if released by the vendor, or apply a patched version available from the official repository. No vendor-released patch version is confirmed from available data; users should monitor the Nothings stb GitHub repository for security updates and pull requests addressing double free in stbi__load_gif_main. As a temporary mitigation, disable GIF file loading functionality if not required by the application, implement file type validation to reject untrusted GIF files, and use sandboxing or privilege separation to limit impact of memory corruption. Vendors embedding stb_image.h should conduct code review of the stbi__load_gif_main function and consider applying upstream fixes from community sources if official patches are unavailable.

Affected VersionsENISA

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

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 stb_image.h, a popular single-header image loading library used across embedded systems, game engines, and applications for lightweight image processing. The weakness is classified as CWE-415 (Double Free), a memory safety defect where the same memory address is freed twice during processing of multi-frame GIF files. This occurs in the stbi__load_gif_main function, which handles parsing and loading of animated GIF data structures. Local authenticated attackers with file system or process access can craft malicious GIF files to trigger the double free condition, leading to heap corruption, information disclosure, and potential code execution depending on heap state and memory layout.

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

NVD PRIMARY 1.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
SUSE 4.3 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
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
4.8 (MEDIUM) 1.9 (LOW)
CVE Published
Mar 31, 2026 - 07:30 nvd
MEDIUM 4.8

DescriptionCVE.org

A weakness has been identified in Nothings stb up to 2.30. This impacts the function stbi__load_gif_main of the file stb_image.h of the component Multi-frame GIF File Handler. This manipulation causes double free. The attack requires local access. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% 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 No
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
Defer
Exploitation
None
System Exposure· derived
Small
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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in Nothings stb_image Buffer Overflow Flaws

View all 2

More in Stb

View all

Vendor StatusVendor

SUSE

Severity: Medium

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