CVE-2023-45661: nothings stb Out-of-bounds Read
CVSS: 7.1v3.1HighModified
AliasesUBUNTU-CVE-2023-45661DEBIAN-CVE-2023-45661
Published 20-10-2023Last modified 13-02-2025
Vulnerability summary
CVE-2023-45661 is a high (CVSS 7.1) Out-of-bounds Read vulnerability in nothings stb. EPSS estimates a 0.57% chance of exploitation in the next 30 days, higher than 46.2% of scored vulnerabilities.
CVSS score
7.1/10
010
High · v3.1 (NVD)EPSS score
0.57%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 20-10-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 versionHigh 7.1Preferred score · NVD (NIST)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:HSources4 sources · 6.5–7.1
- CVE.orgCNA6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
EPSS trend
Probability
0.57%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
0.00 pp
From 0.57% on 18-09-2026
18-09-202618-10-2026
EPSS score0.57%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Nothings2 products
- stb≤ 2.28
- stb_image.h2.28
Debian1 product
- libstbAll versions (No fix recorded)
Ubuntu1 product
- libstbAll versions (No fix recorded)
3 vendors · 4 products
References
9 links- securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/X Refsource CONFIRMREPORTThird Party Advisory
- github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.hX Refsource MISCREPORTPatchThird Party Advisory
- github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.hX Refsource MISCREPORTThird Party Advisory