CVE-2026-112406: Pillow - Denial of Service
- Cve: CVE-2026-112406
- Name: Pillow - Denial of Service
- Description: Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow can enter an infinite loop while rewriting PDF pages. PdfParser.rewrite_pages() follows Parent relationships without detecting a cycle in the page tree. An attacker can supply a cyclic PDF to an application that appends an image to that PDF. This can hold the worker at full CPU and deny service. This issue is fixed in version 13.0.0.
- Impact: Attackers can cause CPU exhaustion leading to denial of service by supplying cyclic PDFs.
- Remediation: Update to version 13.0.0 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00573
- Epss percentile: 0.48238
- Assignee: [email protected]
- Published at: 2026-10-19T22:17:08Z
- Age in days: 36
- Modified at: 2026-10-27T14:59:51Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-112406
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-835 | Loop with Unreachable Exit Condition |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-f2g6-542v-9j58 | nvd | 2026-10-19 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/python-pillow/Pillow/commit/b3ebf20c694f2f12537a629c30229a1d5a53f777 | Patch |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-f2g6-542v-9j58 | Exploit, Mitigation, Patch, Vendor Advisory |
| https://github.com/python-pillow/Pillow/releases/tag/13.0.0 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:pillow | >= 5.1.0, < 13.0.0 | no | nvd | /v1/products/python/pillow |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python-pillow/Pillow | commit, fix, package, releases, security_advisory | yes | /v1/repositories/python-pillow/Pillow |
Index
- Repositories: 2601
- Repositories high signal: 1492
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-10-19
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts