# CVE-2026-5186: Nothings stb Multi-frame GIF File stb_image.h stbi__load_gif_main double free

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-02)
- Published: 2026-03-31T07:30:11.484Z
- Modified: 2026-06-17T10:58:34.200Z
- Weaknesses: CWE-119, CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- 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

## Every score

- VulDB: CVSS:4.0 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`
- VulDB: CVSS:3.1 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`
- VulDB: CVSS:3.0 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`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://vuldb.com/vuln/354254> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/354254/cti> (permissions-required, signature)
- <https://vuldb.com/submit/780395> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-5186](https://www.cve.org/CVERecord?id=CVE-2026-5186), CVE Terms of Use, modified 2026-03-31
- NVD: [CVE-2026-5186](https://nvd.nist.gov/vuln/detail/CVE-2026-5186), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-5186 · Whole record: https://cve.day/CVE-2026-5186.json · Rebuilt by cve.day 2026-11-25T22:59:17.562Z
