🛡️ CVE-2023-45661 — stb-image.h
Description
stb_image is a single file MIT licensed library for processing images. A crafted image file may trigger out of bounds memcpy read in stbi__gif_load_next. This happens because two_back points to a memory address lower than the start of the buffer out. This issue may be used to leak internal memory allocation information.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability low.
Weakness class
CVE-2023-45661 is classified as CWE-125: Out-of-bounds Read. The code reads past the limits of a buffer, exposing adjacent memory contents or crashing the process.
Affected software
CVE-2023-45661 is recorded against 1 package.
- stb-image.h
Timeline and source
Published on 21 October 2023 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.
References
github.com
github.com
lists.fedoraproject.org
lists.fedoraproject.org
lists.fedoraproject.org
securitylab.github.com
github.com
github.com
lists.fedoraproject.org
lists.fedoraproject.org
lists.fedoraproject.org
securitylab.github.com
CVE-2023-45661 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| stb-image.h | — | — |
References
Similar Threats
- Medium CVE-2025-3406
- Medium CVE-2025-3407
- Medium CVE-2025-3408
- Medium CVE-2025-3409
- Medium CVE-2023-43281
Vulnerability Monitoring
Track new vulnerabilities in stb-image.h
CVE-2023-45661 is rated CVSS 6.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.