Home

Description

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.

PUBLISHED Reserved 2026-03-30 | Published 2026-03-31 | Updated 2026-03-31 | Assigner VulDB




MEDIUM: 4.8CVSS: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
MEDIUM: 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
MEDIUM: 5.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
4.3AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR

Problem types

Heap-based Buffer Overflow

Memory Corruption

Product status

2.0
affected

2.1
affected

2.2
affected

2.3
affected

2.4
affected

2.5
affected

2.6
affected

2.7
affected

2.8
affected

2.9
affected

2.10
affected

2.11
affected

2.12
affected

2.13
affected

2.14
affected

2.15
affected

2.16
affected

2.17
affected

2.18
affected

2.19
affected

2.20
affected

2.21
affected

2.22
affected

2.23
affected

2.24
affected

2.25
affected

2.26
affected

2.27
affected

2.28
affected

2.29
affected

2.30
affected

Timeline

2026-03-30:Advisory disclosed
2026-03-30:VulDB entry created
2026-03-30:VulDB entry last update

Credits

d0razi (VulDB User) reporter

VulDB coordinator

References

vuldb.com/vuln/354253 (VDB-354253 | Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow) vdb-entry technical-description

vuldb.com/vuln/354253/cti (VDB-354253 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/submit/780390 (Submit #780390 | nothings stb stb_image.h <= 2.30 Heap-based Buffer Overflow) third-party-advisory

cve.org (CVE-2026-5185)

nvd.nist.gov (CVE-2026-5185)

Download JSON