CVE-2026-42310
Pillow: PDF Parsing Trailer Infinite Loop (DoS)
At a glance Severity MEDIUM 5.1 EPSS EPSS 0.17 % · percentile 6 (2026-10-27) State PUBLISHED Published 2026-05-09 Updated 2026-05-12 Assigner GitHub_M NVD status Analyzed
Description Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive. This issue has been patched in version 12.2.0.
Scores Version Score Vector Scored by CVSS 4.0 MEDIUM 5.1 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N GitHub_M CVSS 4.0 MEDIUM 5.1 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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 NVD · security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H NVD · nvd@nist.gov (Primary)
Weaknesses (CWE)
Advisories
European references
CERT-FR advisories
Affected configurations (NVD CPE) cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* ≥ 4.2.0 < 12.2.0
Affected products
References
Sources