CVE-2026-5313 Details
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.
A use-after-free vulnerability exists in Nothings stb versions through 2.30, specifically in the GIF decoding function 'stbi__gif_load_next' within the 'stb_image.h' library. This vulnerability allows for denial-of-service conditions by crashing the application. The issue can be exploited remotely by sending a crafted multi-frame GIF file, taking advantage of the way the library handles image data. When the same GIF is processed multiple times through different loading functions, the decoder can mistakenly reference freed memory, potentially leading to a crash or, depending on the memory management, arbitrary code execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 1, 2026CISA-ADP
Assessed Apr 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://vuldb.com/submit/780462 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/vuln/354645 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/354645/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-404 | Improper Resource Shutdown or Release | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Nothings stb | <= 2.30 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 1, 2026 | New CVE Received | [email protected] |
Volerion