Nothings stb_image Multi-frame GIF File stb_image.h stbi__gif_load_next heap-based overflow
Summary
| CVE | CVE-2026-5185 |
|---|---|
| State | PUBLISHED |
| Assigner | VulDB |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-31 07:16:12 UTC |
| Updated | 2026-04-01 14:24:02 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 4.8 MEDIUM from [email protected]
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.000120000 probability, percentile 0.015960000 (date 2026-04-01)
Problem Types: CWE-119 | CWE-122 | CWE-122 Heap-based Buffer Overflow | CWE-119 Memory Corruption
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 4.8 | MEDIUM | 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/C... |
| 4.0 | CNA | DECLARED | 4.8 | MEDIUM | 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 |
| 3.1 | [email protected] | Primary | 5.3 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| 3.1 | CNA | DECLARED | 5.3 | MEDIUM | 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 | CNA | DECLARED | 5.3 | MEDIUM | 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 | [email protected] | Secondary | 4.3 | AV:L/AC:L/Au:S/C:P/I:P/A:P | |
| 2.0 | CNA | DECLARED | 4.3 | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
CVSS v4.0 Breakdown
Attack Vector
LocalAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
NoneConfidentiality
LowIntegrity
LowAvailability
LowSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Nothings | Stb Image | affected 2.0 | Not specified |
| CNA | Nothings | Stb Image | affected 2.1 | Not specified |
| CNA | Nothings | Stb Image | affected 2.2 | Not specified |
| CNA | Nothings | Stb Image | affected 2.3 | Not specified |
| CNA | Nothings | Stb Image | affected 2.4 | Not specified |
| CNA | Nothings | Stb Image | affected 2.5 | Not specified |
| CNA | Nothings | Stb Image | affected 2.6 | Not specified |
| CNA | Nothings | Stb Image | affected 2.7 | Not specified |
| CNA | Nothings | Stb Image | affected 2.8 | Not specified |
| CNA | Nothings | Stb Image | affected 2.9 | Not specified |
| CNA | Nothings | Stb Image | affected 2.10 | Not specified |
| CNA | Nothings | Stb Image | affected 2.11 | Not specified |
| CNA | Nothings | Stb Image | affected 2.12 | Not specified |
| CNA | Nothings | Stb Image | affected 2.13 | Not specified |
| CNA | Nothings | Stb Image | affected 2.14 | Not specified |
| CNA | Nothings | Stb Image | affected 2.15 | Not specified |
| CNA | Nothings | Stb Image | affected 2.16 | Not specified |
| CNA | Nothings | Stb Image | affected 2.17 | Not specified |
| CNA | Nothings | Stb Image | affected 2.18 | Not specified |
| CNA | Nothings | Stb Image | affected 2.19 | Not specified |
| CNA | Nothings | Stb Image | affected 2.20 | Not specified |
| CNA | Nothings | Stb Image | affected 2.21 | Not specified |
| CNA | Nothings | Stb Image | affected 2.22 | Not specified |
| CNA | Nothings | Stb Image | affected 2.23 | Not specified |
| CNA | Nothings | Stb Image | affected 2.24 | Not specified |
| CNA | Nothings | Stb Image | affected 2.25 | Not specified |
| CNA | Nothings | Stb Image | affected 2.26 | Not specified |
| CNA | Nothings | Stb Image | affected 2.27 | Not specified |
| CNA | Nothings | Stb Image | affected 2.28 | Not specified |
| CNA | Nothings | Stb Image | affected 2.29 | Not specified |
| CNA | Nothings | Stb Image | affected 2.30 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| vuldb.com/submit/780390 | [email protected] | vuldb.com | |
| vuldb.com/vuln/354253 | [email protected] | vuldb.com | |
| vuldb.com/vuln/354253/cti | [email protected] | vuldb.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: d0razi (VulDB User) (en)
CNA: VulDB (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-03-30T00:00:00.000Z | Advisory disclosed |
| CNA | 2026-03-30T02:00:00.000Z | VulDB entry created |
| CNA | 2026-03-30T21:23:47.000Z | VulDB entry last update |
There are currently no legacy QID mappings associated with this CVE.