{"id":"CVE-2023-45661","aliases":["CVE-2023-45661"],"related":[],"kind":"vulnerability","state":"published","title":"Wild address read in stbi__gif_load_next in stb_image","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"stb_image es una librería con licencia MIT de un solo archivo para procesar imágenes. Un archivo de imagen manipulado puede provocar una lectura de memcpy fuera de límites en `stbi__gif_load_next`. Esto sucede porque two_back apunta a una dirección de memoria inferior al inicio del búfer de salida. Este problema puede utilizarse para filtrar información de asignación de memoria interna.","source":"nvd"}],"published":"2023-10-20T23:26:08.605Z","modified":"2026-06-17T06:29:03.107Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"<= 2.28","status":"affected"}],"vendor":"nothings","product":"stb","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"2.28","status":"affected"}],"vendor":"nothings","product":"stb_image","cpe":"cpe:2.3:a:nothings:stb_image:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"2.28"}],"vendor":"nothings","product":"stb_image.h","cpe":"cpe:2.3:a:nothings:stb_image.h:2.28:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L6817","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L7021-L7022","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UVQ7ONFH5GWLMXYEAJG32A3EUKUCEVCR/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QVABVF4GEM6BYD5L4L64RCRSXUHY6LGN/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NMXKOKPP4BKTNUTF5KSRDQAWOUILQZNO/","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-09-12T14:27:05.813Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45661","url":"https://www.cve.org/CVERecord?id=CVE-2023-45661","licence":"CVE Terms of Use","modified":"2025-02-13T17:14:04.182Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45661","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45661","licence":"Public domain","modified":"2026-06-17T06:29:03.107Z"}],"updatedAt":"2026-11-25T22:58:28.993Z","epss":{"score":0.00572,"percentile":0.48659,"date":"2026-12-01T12:00:22.000Z"}}