Vulnerability · Published Mar 31, 2026 · Assigned by VulDB

CVE-2026-5186Nothings stb Multi-frame GIF File stb_image.h stbi__load_gif_main double free

Medium 5.3

In plain English

A medium-severity double free in stb from Nothings. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities).

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.1%top 98.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
Nothings stb 2.02.12.22.32.42.52.62.7

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

References