CVE-2026-5185
published medium CVSS 4.0 · 4.8Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Nothings | — | stb_image2.0 · 2.1 · 2.2 · 2.3 · 2.4 · 2.5 · 2.6 · 2.7 · 2.8 · 2.9 · 2.10 · 2.11 · 2.12 · 2.13 · 2.14 · 2.15 · 2.16 · 2.17 · 2.18 · 2.19 · 2.20 · 2.21 · 2.22 · 2.23 · 2.24 · 2.25 · 2.26 · 2.27 · 2.28 · 2.29 · 2.30 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.3 | medium | VulDB · cna | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Nothings | stb_image | 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) | VulDB · cna |
Weaknesses
2- CWE-122 Heap-based Buffer Overflow
- CWE-119 Memory Corruption
References
3- Submit #780390 | nothings stb stb_image.h <= 2.30 Heap-based Buffer Overflow https://vuldb.com/submit/780390
- VDB-354253 | Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow https://vuldb.com/vuln/354253
- VDB-354253 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/354253/cti
Provider assertions
2VulDB · cna
Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 30d8b2652a95771ea8ab3c55c933bd047b4d17678dfd75060c334694ccdb7ecb
- Ingested
- 23 Sep 2026, 09:23:13 UTC
- Source record
- Official CVE record