CVE-2026-42310: Pillow - Denial of Service
- Cve: CVE-2026-42310
- Name: Pillow - Denial of Service
- 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.
- Impact: Attackers can cause the application to hang and consume 100% CPU, leading to denial of service.
- Remediation: Upgrade to version 12.2.0 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00171
- Epss percentile: 0.06552
- Assignee: [email protected]
- Published at: 2026-05-09T06:16:10Z
- Age in days: 199
- Modified at: 2026-07-24T21:10:00Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42310
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-835 | Loop with Unreachable Exit Condition |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468 | Patch |
| https://github.com/python-pillow/Pillow/pull/9519 | Issue Tracking, Patch |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7 | Patch, Vendor Advisory |
| https://github.com/python-pillow/Pillow/releases/tag/12.2.0 | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:pillow | >= 4.2.0, < 12.2.0 | no | nvd | /v1/products/python/pillow |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python-pillow/Pillow | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/python-pillow/Pillow |
Index
- Repositories: 2286
- Repositories high signal: 1259
- Packages: 1
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts