cbcvebase.
CVE-2026-96640
published 2026-10-21

CVE-2026-96640: Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py treats a PDF /Pages graph as a tree…

PriorityP346high8.2CVSS 4.0
AVNACLATPPRNUINVCNVINVAHSCNSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.52%
43.6th percentile
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py treats a PDF /Pages graph as a tree without tracking duplicate indirect references. When Image.save(..., format="PDF", append=True) processes an attacker-controlled existing PDF whose /Kids arrays repeatedly reference the same child /Pages node, Pillow expands the shared subtree as distinct pages. A compact malformed PDF can therefore create exponentially many page references and consume disproportionate CPU before the append completes. This issue is fixed in version 13.0.0.

Affected

80 ranges· showing 25
VendorProductVersion rangeFixed in
ansible-automation-platform-25lightspeed-chatbot-rhel8——
ansible-automation-platform-26hub-rhel9——
ansible-automation-platform-26lightspeed-chatbot-rhel9——
ansible-automation-platform-27hub-rhel9——
ansible-automation-platform-27lightspeed-chatbot-rhel9——
exploit-intelligencevulnerability-analysis-rhel9——
lightspeed-corelightspeed-stack-rhel9——
lightspeed-corerag-tool-cpu-rhel9——
lightspeed-corerag-tool-cuda-12.9-rhel9——
lightspeed-services-ocpocp-rules-rhel9——
openshift-lightspeed-tech-previewlightspeed-rag-tool-rhel9——
openshift-lightspeedlightspeed-ocp-rag-rhel9——
openshift-lightspeedlightspeed-service-api-rhel9——
python-pillowpillow——
pythonpillow>= 5.1.0 < 13.0.013.0.0
quayquay-rhel8——
quayquay-rhel9——
rhai-early-accessdocling-sdk-cuda-rhel9——
rhai-early-accessdocling-serve-cuda-rhel9——
rhaiguidellm-rhel9——
rhaiimodel-opt-cuda-rhel9——
rhaiivllm-cpu-rhel9——
rhaiivllm-cuda-rhel9——
rhaiivllm-gaudi-rhel9——
rhaiivllm-neuron-rhel9——

CVSS provenance

nvdv4.08.2HIGHCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat8.2HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.