Vulnerability · Published Apr 1, 2026 · Assigned by VulDB

CVE-2026-5313Nothings stb GIF Decoder stb_image.h stbi__gif_load_next denial of service

Medium 4.3

In plain English

A medium-severity security flaw in stb from Nothings. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities).

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.3%top 78.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libstbno fix listedDEBIAN-CVE-2026-5313
Debian:13libstbno fix listedDEBIAN-CVE-2026-5313
Debian:14libstbno fix listedDEBIAN-CVE-2026-5313
Ubuntu:22.04:LTSlibstbno fix listedUBUNTU-CVE-2026-5313
Ubuntu:24.04:LTSlibstbno fix listedUBUNTU-CVE-2026-5313
Ubuntu:25.10libstbno fix listedUBUNTU-CVE-2026-5313
Ubuntu:26.04:LTSlibstbno fix listedUBUNTU-CVE-2026-5313
Ubuntu:26.10libstbno fix listedUBUNTU-CVE-2026-5313

Affected products (as reported)

VendorProductVersions
Nothings stb 2.02.12.22.32.42.52.62.7

Weakness: CWE-404 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L/E:P/RL:X/RC:R

References