Back to search
CVE-2026-42310
Published: May 9, 2026
Modified: May 12, 2026
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
python-pillow | Pillow | affected >= 4.2.0, < 12.2.0 |
Weaknesses (CWE)
References
https://github.com/python-pillow/Pillow/pull/9519
x_refsource_MISC
https://github.com/python-pillow/Pillow/releases/tag/12.2.0
x_refsource_MISC
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now