ADVISORIES

Vulnerability

CVE-2026-59200

Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.

48 advisories report this vulnerability, across 9 ecosystems.

Advisories in Ubuntu

  • UBUNTU-CVE-2026-59200

    Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed…

    CVE-2026-59200 Ubuntu Updated 24 November 2026
  • USN-8999-1

    pillow vulnerabilities

    CVE-2026-54058CVE-2026-54059CVE-2026-54060CVE-2026-55379 Ubuntu Updated 24 November 2026

References