stbimage 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 twoback points to a memory address lower than the start of the buffer out. This issue may be used to leak internal memory allocation information.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45661.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-125"
]
}