Logic Error in GdkPixbuf’s GIF Decoder Leading to Memory Leakage
CVE-2025-6199
3.3LOW
What is CVE-2025-6199?
A flaw in the GIF parser of GdkPixbuf’s LZW decoder leads to a logic error when handling invalid symbols during decompression. Instead of reporting the correct number of bytes written, the decoder mistakenly sets the output size to the full buffer length. This oversight can result in uninitialized portions of the buffer being incorporated into the output, which poses a risk of leaking arbitrary memory contents from processed images. This vulnerability can expose sensitive data and requires immediate attention to mitigate potential risks.