PT-2026-120834

CVE-2026-96640

·

Published

2026-10-21

·

Updated

2026-11-02

Description by

CVSS 4.0
8.2
High
MetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Pillow versions 5.1.0 through 12.11.0
Description The PdfParser.linearize page tree() function in src/PIL/PdfParser.py treats a PDF /Pages graph as a tree without tracking duplicate indirect references. When the Image.save() function is used with format="PDF" and append=True to process a malformed PDF where /Kids arrays repeatedly reference the same child /Pages node, the library expands the shared subtree as distinct pages. This can lead to the creation of exponentially many page references, resulting in disproportionate CPU consumption.
Recommendations Update to version 13.0.0.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-MRFP-P49P-3HF2
ALSA-2026:92639
BIT-PILLOW-2026-96640
ECHO-5C73-E106-C793
OPENSUSE-SU-2026:12251-1
SUSE-SU-2026:5038-1
Found an issue in the description? Have something to add? Feel free to write us 👾