Vulnerability
CVE-2026-112894
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow takes quadratic time to reserve PDF object identifiers when saving many frames with save_all enabled. PdfParser.next_object_id() repeatedly rebuilds and scans all previously reserved identifiers for every object. An attacker can supply a multi-frame image, including a small APNG with a large declared frame count, to an application that converts it to a multipage PDF. This can consume excessive CPU and deny service. This issue is fixed in version 13.0.0.
69 advisories report this vulnerability, across 12 ecosystems.
Advisories in Chainguard
- CGA-2gfr-5jqv-rg9f
- CGA-2gjj-5c2r-42jf
- CGA-2jjh-rj24-h2vx
- CGA-2mfc-6g8q-v8g2
- CGA-2xwq-mwfm-64vm
- CGA-34pg-fg6x-62x5
- CGA-4mjx-mw3m-4vfm
- CGA-5qgh-w6w9-x24q
- CGA-68g9-jj87-ghm4
- CGA-7359-hrr3-f5ph
- CGA-77wv-3h4v-j978
- CGA-7q6h-p6f8-mfqc
- CGA-7vmg-vhvq-286r
- CGA-7xhg-jqvg-3p2h
- CGA-823p-vxwp-72qr
- CGA-8qp2-w676-6jhh
- CGA-9f32-fmrx-g55x
- CGA-cfp9-h6hj-qj4v
- CGA-cqq4-j9p3-r9x5
- CGA-cxq5-fh52-xgg2
- CGA-f4v7-gxpf-9pf7
- CGA-g6xv-624x-34vg
- CGA-gwgp-rwrm-qrxq
- CGA-gxp4-3xwm-956c
- CGA-hv8m-r3cj-79v7
- CGA-j6j2-gvf7-w9f2
- CGA-jcvm-wvwr-xv5p
- CGA-jgg8-2p9m-vc35
- CGA-jhhh-hm75-jqq7
- CGA-jhpg-c5vv-rvqr
- CGA-jj2v-m87q-565j
- CGA-q985-xccv-mjm2
- CGA-qfqm-6225-vxgr
- CGA-r4f6-9gjx-r3w2
- CGA-r5ch-8cfg-2h26
- CGA-r959-4825-jm89
- CGA-rj5g-5hqw-wxj6
- CGA-rj6x-5p4q-p3gf
- CGA-whv8-pf88-2wcm
- CGA-wmmc-g3wh-p7m6
- CGA-x2rf-vcjf-r58w
- CGA-x78p-86c5-6m66
- CGA-x7xr-hjhf-h78w
- CGA-xrh6-w7pc-8pcq