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 Chainguard
- CGA-25p8-683r-4w78
- CGA-27fm-q2fw-gvr2
- CGA-2j9f-g7g4-8jv4
- CGA-2mm5-wqf2-hcx2
- CGA-33cm-v6v6-259g
- CGA-4jmp-j878-xwcw
- CGA-54gh-66v8-ww6f
- CGA-554m-hmph-xhjh
- CGA-5654-p3mq-78p2
- CGA-5jjf-3p79-7r86
- CGA-6grw-5vw5-42g2
- CGA-83cm-4xp6-wf89
- CGA-8gm2-jc65-cc49
- CGA-9mm9-jgjj-g499
- CGA-c5gp-qm8h-pc25
- CGA-cw36-vq96-jrvr
- CGA-fxhw-6pm8-w45r
- CGA-g9c4-jvvm-7q39
- CGA-gr3c-wh7f-523p
- CGA-h8rx-9rwc-v85m
- CGA-hcg8-jf6v-wh2v
- CGA-hv57-j2fh-r3fm
- CGA-jqpj-744w-9m3c
- CGA-jv4j-2xpg-f3r3
- CGA-pr2p-7376-9vxq
- CGA-px3r-3pw4-6cc7
- CGA-q5x6-5g9f-x8jx
- CGA-q83c-fxqg-347q
- CGA-qjg4-278c-55qw
- CGA-qw4m-8wm9-g2jh
- CGA-w7vm-49r2-mrr4