# CVE-2026-42310: Pillow: PDF Parsing Trailer Infinite Loop (DoS)

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-09 · Modified: 2026-05-12
- Aliases: GHSA-r73j-pqj5-w3x7, BIT-pillow-2026-42310, PYSEC-2026-2874, UBUNTU-CVE-2026-42310, DEBIAN-CVE-2026-42310, CGA-3qhj-h396-88mv, CGA-63cc-wj58-3x32, CGA-c3mh-3752-vxmp, CGA-h7j3-p7hg-x5cf, CGA-m2m2-jh38-p46w, CGA-wx2r-r32q-7j8g
- Record: https://cvemate.com/vulnerability/CVE-2026-42310 · JSON: https://cvemate.com/vulnerability/CVE-2026-42310/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.171%, percentile 6.804%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard kubeflow-pipelines-visualization-server (Chainguard): \< 2.16.1-r0
- chainguard mlflow (Chainguard): \< 3.16.0-r0
- chainguard open-webui (Chainguard): \< 0.11.0-r0
- chainguard superset-6.0 (Chainguard): \< 6.0.0-r10
- wolfi kubeflow-pipelines-visualization-server (Wolfi): \< 2.16.1-r0
- wolfi mlflow (Wolfi): \< 3.16.0-r0
- wolfi open-webui (Wolfi): \< 0.11.0-r0
- wolfi superset-6.0 (Wolfi): \< 6.0.0-r10
- debian pillow (Debian): All versions (No fix recorded) \| \< 11.1.0-5+deb13u3 \| \< 12.2.0-1
- ubuntu pillow (Ubuntu): All versions (No fix recorded) \| \< 5.1.0-1ubuntu0.8+esm3 \| \< 7.0.0-4ubuntu0.9+esm2 \| \< 9.0.1-1ubuntu0.4 \| \< 10.2.0-1ubuntu1.2 \| \< 11.3.0-1ubuntu1.3 \| \< 12.1.1-2ubuntu1.2
- ubuntu pillow-python2 (Ubuntu): All versions (No fix recorded)
- PyPI pillow (PyPI): ≥ 4.2.0, \< 12.2.0
- python-pillow pillow: ≥ 4.2.0, \< 12.2.0
- python pillow: ≥ 4.2.0, \< 12.2.0

## References

- <https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7>
- <https://github.com/python-pillow/Pillow/pull/9519>
- <https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468>
- <https://github.com/python-pillow/Pillow/releases/tag/12.2.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42310>
- <https://github.com/python-pillow/Pillow>
- <https://pypi.org/project/pillow>
- <https://github.com/advisories/GHSA-r73j-pqj5-w3x7>
- <https://ubuntu.com/security/CVE-2026-42310>
- <https://www.cve.org/CVERecord?id=CVE-2026-42310>
- <https://ubuntu.com/security/notices/USN-8399-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-42310>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42310.json>
- <https://ubuntu.com/security/notices/USN-9064-1>

---

Data as of 2026-12-05T04:23:38.866Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
