Home / Nothings / stb / CVE-2026-5186
CVE-2026-5186: is it exploited, and which versions of Nothings stb are affected and fixed?
CVE-2026-5186 is a double free vulnerability in Nothings stb. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: stb 2.0, stb 2.1, stb 2.2 and 28 more (CVE record by VulDB). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.8, CVSS 4.0, from VulDB).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-5186?
Nothings stb Multi-frame GIF File stb_image.h stbi__load_gif_main double free
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.
From the CVE record by VulDB, last updated March 31, 2026, 15:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Nothings | stb | 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 and 19 more ranges |
As the CVE record by VulDB states it, last updated March 31, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-5186?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.8 | CVSS 4.0 | 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 | VulDB |
| Medium 5.3 | CVSS 3.1 | 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 | VulDB |
| Medium 5.3 | CVSS 3.0 | 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 | VulDB |
| Medium 4.3 | CVSS 2.0 | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-5186 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 31, 2026)
- EPSS
- 0.13% probability of exploitation activity in the next 30 days, percentile 2.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- VDB-354254 | Nothings stb Multi-frame GIF File stb_image.h stbi__load_gif_main double free vdb-entry, technical-description
- VDB-354254 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #780395 | nothings stb stb_image.h <= 2.30 Double Free third-party-advisory
Who found and reported it?
- d0razi (VulDB User) (reporter)
- VulDB (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 30, 2026
- Published
- March 31, 2026, 07:30 UTC
- CVE record updated
- March 31, 2026, 15:36 UTC by VulDB
- NVD
- Deferred, last modified June 17, 2026, 10:58 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect stb?
- Sep 30, 2026CVE-2026-102805 Nothings stb: integer overflow
- Sep 30, 2026CVE-2026-102804 Nothings stb: integer overflow
- Apr 2, 2026CVE-2026-5317 Nothings stb: out-of-bounds write (memory corruption)
- Apr 2, 2026CVE-2026-5316 Nothings stb: denial of service (resources allocated without limits)
- Apr 1, 2026CVE-2026-5315 Nothings stb: out-of-bounds read
- Apr 1, 2026CVE-2026-5314 Nothings stb: out-of-bounds read
- Apr 1, 2026CVE-2026-5313 Nothings stb: resource not released
- Apr 8, 2025CVE-2025-3409 Nothings stb: stack buffer overflow
Questions about CVE-2026-5186
Is CVE-2026-5186 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.13% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Nothings stb are affected by CVE-2026-5186?
stb 2.0, stb 2.1, stb 2.2, stb 2.3, stb 2.4, stb 2.5 and 25 more, per the CVE record by VulDB. The tables above give every range the sources list.
Which version fixes CVE-2026-5186?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-5186?
Medium (4.8, CVSS 4.0, from VulDB). The severity table above shows each score with its source.
Where is the official record of CVE-2026-5186?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.