{"id":"CVE-2023-45667","aliases":["CVE-2023-45667"],"related":[],"kind":"vulnerability","state":"published","title":"Null pointer dereference because of an uninitialized variable in stb_image","summary":"stb_image is a single file MIT licensed library for processing images.\n\nIf `stbi__load_gif_main` in `stbi_load_gif_from_memory` fails it returns a null pointer and may keep the `z` variable uninitialized. In case the caller also sets the flip vertically flag, it continues and calls `stbi__vertical_flip_slices` with the null pointer result value and the uninitialized `z` value. This may result in a program crash.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"stb_image is a single file MIT licensed library for processing images.\n\nIf `stbi__load_gif_main` in `stbi_load_gif_from_memory` fails it returns a null pointer and may keep the `z` variable uninitialized. In case the caller also sets the flip vertically flag, it continues and calls `stbi__vertical_flip_slices` with the null pointer result value and the uninitialized `z` value. This may result in a program crash.","source":"cvelist"},{"lang":"es","text":"stb_image es una librería con licencia MIT de un solo archivo para procesar imágenes. Si falla `stbi__load_gif_main` en `stbi_load_gif_from_memory`, devuelve un puntero nulo y puede mantener la variable `z` sin inicializar. En caso de que la persona que llama también establezca el indicador de giro vertical, continúa y llama a `stbi__vertical_flip_slices` con el valor de resultado del puntero nulo y el valor `z` no inicializado. Esto puede provocar un fallo del programa.","source":"nvd"}],"published":"2023-10-20T23:26:44.376Z","modified":"2026-06-17T06:29:19.470Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"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:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-476"],"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#L1442-L1454","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nothings/stb/blob/5736b15f7ea0ffb08dd38af21067c314d6a3aae9/stb_image.h#L1448","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:07:34.956Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-45667","url":"https://www.cve.org/CVERecord?id=CVE-2023-45667","licence":"CVE Terms of Use","modified":"2025-02-13T17:14:07.042Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-45667","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45667","licence":"Public domain","modified":"2026-06-17T06:29:19.470Z"}],"updatedAt":"2026-11-25T22:58:28.995Z","epss":{"score":0.01269,"percentile":0.70627,"date":"2026-12-01T12:00:22.000Z"}}