Vulnerability Details 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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.006
EPSS Ranking 48.4%
CVSS Severity
CVSS v3 Score 7.5
Products affected by CVE-2026-112894
-
cpe:2.3:a:python:pillow:10.0.0
-
cpe:2.3:a:python:pillow:10.0.1
-
cpe:2.3:a:python:pillow:10.1.0
-
cpe:2.3:a:python:pillow:10.2.0
-
cpe:2.3:a:python:pillow:10.3.0
-
cpe:2.3:a:python:pillow:10.4.0
-
cpe:2.3:a:python:pillow:11.0.0
-
cpe:2.3:a:python:pillow:11.1.0
-
cpe:2.3:a:python:pillow:11.2.1
-
cpe:2.3:a:python:pillow:11.3.0
-
cpe:2.3:a:python:pillow:12.0.0
-
cpe:2.3:a:python:pillow:12.1.0
-
cpe:2.3:a:python:pillow:12.1.1
-
cpe:2.3:a:python:pillow:12.2.0
-
cpe:2.3:a:python:pillow:5.1.0
-
cpe:2.3:a:python:pillow:5.2.0
-
cpe:2.3:a:python:pillow:5.3.0
-
cpe:2.3:a:python:pillow:5.4.0
-
cpe:2.3:a:python:pillow:5.4.1
-
cpe:2.3:a:python:pillow:6.0.0
-
cpe:2.3:a:python:pillow:6.2.0
-
cpe:2.3:a:python:pillow:6.2.2
-
cpe:2.3:a:python:pillow:6.2.3
-
cpe:2.3:a:python:pillow:7.0.0
-
cpe:2.3:a:python:pillow:7.1.0
-
cpe:2.3:a:python:pillow:7.1.1
-
cpe:2.3:a:python:pillow:7.1.2
-
cpe:2.3:a:python:pillow:7.2.0
-
cpe:2.3:a:python:pillow:8.0.0
-
cpe:2.3:a:python:pillow:8.0.1
-
cpe:2.3:a:python:pillow:8.1.0
-
cpe:2.3:a:python:pillow:8.1.1
-
cpe:2.3:a:python:pillow:8.1.2
-
cpe:2.3:a:python:pillow:8.2.0
-
cpe:2.3:a:python:pillow:8.3.0
-
cpe:2.3:a:python:pillow:8.3.1
-
cpe:2.3:a:python:pillow:8.3.2
-
cpe:2.3:a:python:pillow:8.4.0
-
cpe:2.3:a:python:pillow:9.0.0
-
cpe:2.3:a:python:pillow:9.0.1
-
cpe:2.3:a:python:pillow:9.1.0
-
cpe:2.3:a:python:pillow:9.1.1
-
cpe:2.3:a:python:pillow:9.2.0
-
cpe:2.3:a:python:pillow:9.3.0
-
cpe:2.3:a:python:pillow:9.4.0
-
cpe:2.3:a:python:pillow:9.5.0