CVE-2023-45661

Wild address read in stbi__gif_load_next in stb_image

Published Oct 20, 2023 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-49952 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.
History
Type Values Removed Values Added
First Time appeared Nothings stb Image
CPEs cpe:2.3:a:nothings:stb_image:*:*:*:*:*:*:*:*
Vendors & Products Nothings stb Image
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 5:14 PM
Reserved
Oct 10, 2023, 2:36 PM
Status
Modified
Published
Oct 21, 2023, 12:15 AM
Modified
Jun 17, 2026, 6:29 AM