CVE-2026-42310
Pillow: Pillow: Denial of Service via malicious PDF processing
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-835
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | pillow | >=4.2.0, <12.2.0 | 12.2.0 |
| PyPI | pillow | >=4.2.0, <12.2.0 | 12.2.0 |
| Seal PyPI | pillow | >=10.0.1+sp0, <10.0.1+sp999>=7.2.0+sp0, <7.2.0+sp999>=9.3.0+sp0, <9.3.0+sp999>=9.5.0+sp0, <9.5.0+sp999 | 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999 |
| Seal PyPI | seal-pillow | >=10.0.1+sp1, <10.0.1+sp999>=7.2.0+sp1, <7.2.0+sp999>=9.3.0+sp1, <9.3.0+sp999>=9.5.0+sp1, <9.5.0+sp999 | 10.0.1+sp9997.2.0+sp9999.3.0+sp9999.5.0+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 27 fixes
SUSE Linux Enterprise 5 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | python311-pillow +1 | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| 15.5 | python311-pillow +1 | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| 15.6 | python311-pillow +1 | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| 15.7 | python3-pillow | 7.2.0-150300.3.21.1 | SUSE-SU-2026:1842-1 |
| 15.7 | python311-pillow +1 | 9.5.0-150400.5.20.1 | SUSE-SU-2026:2234-1 |
| 16.0 | python313-pillow +1 | 11.3.0-160000.5.1 | SUSE-SU-2026:21861-1 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | python-pillow-debuginfo +6 | 9.4.0-2.amzn2023.0.8 |
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.0-r0 | |
| kubeflow-pipelines-visualization-server | 2.16.1-r0 | |
| mlflow | 3.16.0-r0 | |
| superset-6-0 | 6.0.0-r10 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | pillow | affected |
| 12 | pillow | affected |
| 13 | pillow | 11.1.0-5+deb13u3 |
| 14 | pillow | 12.2.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| pillow | 11.1.0-5+deb13u3 |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| label-studio | 1.23.1-r0 | |
| litellm-1-83 | 1.83.10-r0 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | python313-pillow +1 | 11.3.0-160000.5.1 | openSUSE-SU-2026:20831-1 |
ubuntu 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | pillow | 5.1.0-1ubuntu0.8+esm3 |
| 20.04-ESM | pillow | 7.0.0-4ubuntu0.9+esm2 |
| 22.04 | pillow | 9.0.1-1ubuntu0.4 |
| 24.04 | pillow | 10.2.0-1ubuntu1.2 |
| 26.04 | pillow | 12.1.1-2ubuntu1.2 |
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.11.0-r0 | |
| kubeflow-pipelines-visualization-server | 2.16.1-r0 | |
| superset-6-0 | 6.0.0-r10 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-42310
- github.com https://github.com/python-pillow/Pillow
- github.com https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468
- github.com https://github.com/python-pillow/Pillow/pull/9519
- github.com https://github.com/python-pillow/Pillow/releases/tag/12.2.0
- github.com https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-42310
- ubuntu.com https://ubuntu.com/security/notices/USN-8399-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9064-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-42310
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.