CVE-2023-45666: Possible double-free or memory leak in stbi__load_gif_main in stb_image
CVE-2023-45666 is a vulnerability in Possible double-free or memory leak in stbi__load_gif_main in stb_image, rated Critical by Microsoft, with a CVSS 3.1 base score of 9.8 (Critical). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 1.33% probability of exploitation activity in the next 30 days, higher than 71% of all scored vulnerabilities. Microsoft released the fix on 20 October 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).
Key facts
- CVE ID
- CVE-2023-45666
- Severity
- Critical CVSS 9.8
- Microsoft severity
- Critical
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-415
- EPSS
- 1.33% (percentile 71%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- October 2023 Patch Tuesday
- Product families
- Open Source Software
CVSS score and vector
Microsoft scores CVE-2023-45666 at 9.8 (temporal 9.8) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
Affected products (1)
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl4 stb 0^20260802.2c980bb-5.azl4 on Azure Linux 4.0 | Release Notes | Security Update | 0:0^20260802.2c980bb-5.azl4 |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 9.8 (CRITICAL)
- NVD weakness
- CWE-415
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| stb image.h 2.28 | all listed versions |
References
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 (Third Party Advisory)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 (Third Party Advisory)
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMXKOKPP4BKTNUTF5KSRDQAWOUILQZNO/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QVABVF4GEM6BYD5L4L64RCRSXUHY6LGN/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVQ7ONFH5GWLMXYEAJG32A3EUKUCEVCR/
- https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ (Third Party Advisory)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6957 (Third Party Advisory)
- https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6962-L7045 (Third Party Advisory)
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMXKOKPP4BKTNUTF5KSRDQAWOUILQZNO/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QVABVF4GEM6BYD5L4L64RCRSXUHY6LGN/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVQ7ONFH5GWLMXYEAJG32A3EUKUCEVCR/
- https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ (Third Party Advisory)
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 2.0 | Information published. | |
| 3.0 | Information published. | |
| 4.0 | Information published. |