CVE-2023-45666: stb_image is a single file MIT licensed library for processing images
CVE-2023-45666 is a high-severity flaw (CVSS 7.3) affecting stb image.h. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
stb_image is a single file MIT licensed library for processing images. It may look like `stbi__load_gif_main` doesn’t give guarantees about the content of output value `*delays` upon failure. Although it sets `*delays` to zero at the beginning, it doesn’t do it in case the image is not recognized as GIF and a call to `stbi__load_gif_main_outofmem` only frees possibly allocated memory in `*delays` without resetting it to zero. Thus it would be fa
Why this priority
- High severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.3 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 35%) |
| CISA exploited list | No |
| Weakness | CWE-415 |
| Published | 2023-10-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-45666?
stb image.h: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-45666 being exploited?
CVE-2023-45666 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-45666 affect?
CVE-2023-45666 affects stb image.h. Severity is high (CVSS 7.3). stb_image is a single file MIT licensed library for processing images. It may look like `stbi__load_gif_main` doesn’t give guarantees about the content of output value `*delays` upon failure. Although it sets `*delays` to zero at the begin
How urgent is CVE-2023-45666?
Priority 47/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-3409 MEDIUM 6.3 UPGRADE A vulnerability classified as critical has been found in Nothings stb up to f056911
- CVE-2025-3408 MEDIUM 6.3 UPGRADE A vulnerability was found in Nothings stb up to f056911
- CVE-2025-3407 MEDIUM 6.3 UPGRADE A vulnerability was found in Nothings stb up to f056911
- CVE-2025-3406 MEDIUM 4.3 UPGRADE A vulnerability was found in Nothings stb up to f056911
- CVE-2023-45667 MEDIUM 5.3 DOWNGRADE stb_image is a single file MIT licensed library for processing images. If `stbi__load_gif_main` in `stbi_load