CVE-2026-42310
published medium CVSS 4.0 · 5.1Pillow: PDF Parsing Trailer Infinite Loop (DoS)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| python-pillow | — | Pillow>= 4.2.0, < 12.2.0 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1712 | Fixed | Not stated | Amazon Linux assessment |
| Debian | trixie | pillow | Advisory build | 11.1.0-5+deb13u3 | DSA-6357-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| Ubuntu | bionic | pillow | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| Amazon Linux | AL2023 | python-pillowaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1712 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
Show 79 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP4 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowaarch64 | Advisory build | 7.2.0-150300.3.21.1 | SUSE-SU-2026:1842-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowppc64le | Advisory build | 7.2.0-150300.3.21.1 | SUSE-SU-2026:1842-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillows390x | Advisory build | 7.2.0-150300.3.21.1 | SUSE-SU-2026:1842-1 |
| SUSE / openSUSE | SLE-15-SP7 | python3-Pillowx86_64 | Advisory build | 7.2.0-150300.3.21.1 | SUSE-SU-2026:1842-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.5.1 | SUSE-SU-2026:21861-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowppc64le | Advisory build | 11.3.0-160000.5.1 | SUSE-SU-2026:21861-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillows390x | Advisory build | 11.3.0-160000.5.1 | SUSE-SU-2026:21861-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillowx86_64 | Advisory build | 11.3.0-160000.5.1 | SUSE-SU-2026:21861-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160000.5.1 | SUSE-SU-2026:21861-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160000.5.1 | SUSE-SU-2026:21861-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tks390x | Advisory build | 11.3.0-160000.5.1 | SUSE-SU-2026:21861-1 |
| SUSE / openSUSE | SLE-16 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160000.5.1 | SUSE-SU-2026:21861-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillows390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillowx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkaarch64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkppc64le | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tks390x | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Pillow-tkx86_64 | Advisory build | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowaarch64 | Advisory build | 11.3.0-160000.5.1 | OPENSUSE-SU-2026:20831-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowppc64le | Advisory build | 11.3.0-160000.5.1 | OPENSUSE-SU-2026:20831-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillows390x | Advisory build | 11.3.0-160000.5.1 | OPENSUSE-SU-2026:20831-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillowx86_64 | Advisory build | 11.3.0-160000.5.1 | OPENSUSE-SU-2026:20831-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkaarch64 | Advisory build | 11.3.0-160000.5.1 | OPENSUSE-SU-2026:20831-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkppc64le | Advisory build | 11.3.0-160000.5.1 | OPENSUSE-SU-2026:20831-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tks390x | Advisory build | 11.3.0-160000.5.1 | OPENSUSE-SU-2026:20831-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-Pillow-tkx86_64 | Advisory build | 11.3.0-160000.5.1 | OPENSUSE-SU-2026:20831-1 |
| Ubuntu | bionic | python-pil | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| Ubuntu | bionic | python-pil.imagetk | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| Ubuntu | bionic | python3-pil | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| Ubuntu | bionic | python3-pil.imagetk | Advisory build | 5.1.0-1ubuntu0.8+esm3 | USN-9064-1 |
| Ubuntu | focal | pillow | Advisory build | 7.0.0-4ubuntu0.9+esm2 | USN-9064-1 |
| Ubuntu | focal | python3-pil | Advisory build | 7.0.0-4ubuntu0.9+esm2 | USN-9064-1 |
| Ubuntu | focal | python3-pil.imagetk | Advisory build | 7.0.0-4ubuntu0.9+esm2 | USN-9064-1 |
| Ubuntu | jammy | pillow | Advisory build | 9.0.1-1ubuntu0.4 | USN-8399-1 |
| Ubuntu | jammy | python3-pil | Advisory build | 9.0.1-1ubuntu0.4 | USN-8399-1 |
| Ubuntu | jammy | python3-pil.imagetk | Advisory build | 9.0.1-1ubuntu0.4 | USN-8399-1 |
| Ubuntu | noble | pillow | Advisory build | 10.2.0-1ubuntu1.2 | USN-8399-1 |
| Ubuntu | noble | python3-pil | Advisory build | 10.2.0-1ubuntu1.2 | USN-8399-1 |
| Ubuntu | noble | python3-pil.imagetk | Advisory build | 10.2.0-1ubuntu1.2 | USN-8399-1 |
| Ubuntu | questing | pillow | Advisory build | 11.3.0-1ubuntu1.3 | USN-8399-1 |
| Ubuntu | questing | python3-pil | Advisory build | 11.3.0-1ubuntu1.3 | USN-8399-1 |
| Ubuntu | questing | python3-pil.imagetk | Advisory build | 11.3.0-1ubuntu1.3 | USN-8399-1 |
| Ubuntu | resolute | pillow | Advisory build | 12.1.1-2ubuntu1.2 | USN-8399-1 |
| Ubuntu | resolute | python3-pil | Advisory build | 12.1.1-2ubuntu1.2 | USN-8399-1 |
| Ubuntu | resolute | python3-pil.imagetk | Advisory build | 12.1.1-2ubuntu1.2 | USN-8399-1 |
| Amazon Linux | AL2023 | python-pillowsrc | Listed in advisory | Not stated | ALAS2023-2026-1712 |
| Amazon Linux | AL2023 | python-pillowx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1712 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| python-pillow | Pillow | >= 4.2.0, < 12.2.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-835 CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
References
4Provider assertions
2GitHub_M · cna
Pillow: PDF Parsing Trailer Infinite Loop (DoS)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 948c01f1785be46a22f9ab0de49d7f559787aff9835b8973738f6c3a5c8162c1
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record