PyPI/pillow CVE-2026-42310: medium 5.5, EPSS 0.18%
Pillow has a PDF Parsing Trailer Infinite Loop (DoS)
Action: Upgrade pillow to 12.2.0 or later.
pip install pillow==12.2.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 4.2.0 | 12.2.0 | - |
Fixed versions
| 12.2.0 |
Sources
- osv: PYSEC-2026-2874
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7
- https://nvd.nist.gov/vuln/detail/CVE-2026-42310
- https://github.com/python-pillow/Pillow/pull/9519
- https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468
- https://github.com/python-pillow/Pillow
- https://github.com/python-pillow/Pillow/releases/tag/12.2.0
- https://pypi.org/project/pillow
- https://github.com/advisories/GHSA-r73j-pqj5-w3x7
CVE-2026-42310 · published · modified · JSON