CVE-2026-5186 MEDIUM

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

Vendor Nothings
Product stb
Weakness CWE-415
Published March 31, 2026
Last update March 31, 2026

CVSS base score

4.8/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 31, 2026 CVE published
March 31, 2026 Record updated