CVE-2026-5185 MEDIUM

CVE-2026-5185: Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow

Vendor Nothings
Product stb_image
Weakness CWE-122
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 security flaw has been discovered in Nothings stb_image up to 2.30. This affects the function stbi__gif_load_next of the file stb_image.h of the component Multi-frame GIF File Handler. The manipulation results in heap-based buffer overflow. The attack requires a local approach. The exploit has been released to the public and may 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