cve.bz

CVE-2026-5313 nothings stb: Improper Resource Shutdown or Release

2.1 lowEPSS 0.3%

Low (2.1) in nothings stb. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

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

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-04-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-404 Improper Resource Shutdown or Release
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-5313 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-5313?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-5313?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-5313 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-5313

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-5313](https://cve.bz/cve/badge/CVE-2026-5313.svg)](https://cve.bz/cve/CVE-2026-5313)

HTML:

<a href="https://cve.bz/cve/CVE-2026-5313"><img src="https://cve.bz/cve/badge/CVE-2026-5313.svg" alt="CVE-2026-5313"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Nothings stb2.0
Nothings stb2.1
Nothings stb2.2
Nothings stb2.3
Nothings stb2.4
Nothings stb2.5
Nothings stb2.6
Nothings stb2.7
Nothings stb2.8
Nothings stb2.9
Nothings stb2.10
Nothings stb2.11
Nothings stb2.12
Nothings stb2.13
Nothings stb2.14
Nothings stb2.15
Nothings stb2.16
Nothings stb2.17
Nothings stb2.18
Nothings stb2.19
Nothings stb2.20
Nothings stb2.21
Nothings stb2.22
Nothings stb2.23
Nothings stb2.24
Nothings stb2.25
Nothings stb2.26
Nothings stb2.27
Nothings stb2.28
Nothings stb2.29
Nothings stb2.30

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libstbno fix listedDEBIAN-CVE-2026-5313
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morelibstbno fix listedUBUNTU-CVE-2026-5313

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate. This flaw in the `stbi__gif_load_next` function of the `stb_image.h` library, used for GIF decoding, can lead to a denial of service when processing a specially crafted GIF image. Red Hat products that utilize the `stb` component from Community Projects (EPEL) and process untrusted GIF content may be affected. Exploitation requires user interaction, such as opening a malicious GIF file.

Red Hat's mitigation

To mitigate this issue, users should avoid processing untrusted GIF images with applications that utilize the `stb_image.h` library. If the `stb` component is not required, consider removing applications that depend on it. For applications that must process GIF content, restrict their exposure to only trusted sources to minimize the risk of a denial of service.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-5313.

Attack patterns (CAPEC)

  • CAPEC-125 Flooding Likelihood: High · Severity: Medium
  • CAPEC-130 Excessive Allocation Likelihood: Medium · Severity: Medium
  • CAPEC-131 Resource Leak Exposure Likelihood: Medium · Severity: Medium
  • CAPEC-494 TCP Fragmentation
  • CAPEC-495 UDP Fragmentation
  • CAPEC-496 ICMP Fragmentation
  • CAPEC-666 BlueSmacking Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON