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).
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libstb | no fix listed | DEBIAN-CVE-2026-5186 |
| Debian:13 | libstb | no fix listed | DEBIAN-CVE-2026-5186 |
| Debian:14 | libstb | no fix listed | DEBIAN-CVE-2026-5186 |
| Ubuntu:22.04:LTS | libstb | no fix listed | UBUNTU-CVE-2026-5186 |
| Ubuntu:24.04:LTS | libstb | no fix listed | UBUNTU-CVE-2026-5186 |
| Ubuntu:25.10 | libstb | no fix listed | UBUNTU-CVE-2026-5186 |
| Ubuntu:26.04:LTS | libstb | no fix listed | UBUNTU-CVE-2026-5186 |
| Ubuntu:26.10 | libstb | no fix listed | UBUNTU-CVE-2026-5186 |
Affected products (as reported)
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
- VDB-354254 | Nothings stb Multi-frame GIF File stb_image.h stbi__load_gif_main double free vdb-entry, technical-description
- VDB-354254 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #780395 | nothings stb stb_image.h <= 2.30 Double Free third-party-advisory