PT-2026-120834
CVE-2026-96640
·
Published
2026-10-21
·
Updated
2026-11-02
Description by
CVSS 4.0
8.2
HighMetricsAV: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
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾