一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-59200 [HIGH] – Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode()

未分类
📑 文章目录

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.