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.
CVE-2026-42310
This medium-severity CVE scores 5.5 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 97% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.5
- EG Score
- 5.5(medium)
- EPSS
- 2.6%
- KEV
- Not listed
Published
May 9, 2026
Last Modified
May 12, 2026
Advisory Details (4)
Auto-updated May 9, 2026PDF Parsing Trailer Infinite Loop (DoS) · Advisory · python-pillow/Pillow · GitHub
https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7Release 12.2.0 · python-pillow/Pillow · GitHub
https://github.com/python-pillow/Pillow/releases/tag/12.2.0Raise an error if the trailer chain loops back on itself by hugovk · Pull Request #9519 · python-pillow/Pillow · GitHub
https://github.com/python-pillow/Pillow/pull/9519Raise an error if the trailer chain loops back on itself (#9519) · python-pillow/Pillow@3bf614e · GitHub
https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468Vendor Advisories for CVE-2026-42310(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:16030Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.3.3 (CUDA)
- RHSA-2026:16009Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.3.3 (ROCm)
- RHSA-2026:16008Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server Model Optimization Tools 3.3.3 (CUDA)
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-pil.imagetk (12.1.1-2ubuntu1.2) @ resolute | 2026-06-28 | ubuntu |
| redhat | rhaiis/model-opt-cuda-rhel9:1778244559 | 2026-05-11 | redhat |
| redhat | rhaiis/vllm-rocm-rhel9:1778244531 | 2026-05-11 | redhat |
| redhat | rhaiis/vllm-cuda-rhel9:1778274666 | 2026-05-11 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | 10.0.0 ... 9.5.0 (51 versions) | 12.2.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 9× in last 7d / 42× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 118 total refreshes for this CVE.
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 03:53 UTCOSV refresh
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 03:43 UTCEG score recompute
- 2026-06-28 03:43 UTCVendor advisory
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 21:13 UTCEG score recompute
Show 75 moreShow fewer
- 2026-06-26 21:13 UTCVendor advisory
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 05:57 UTCEG score recompute
- 2026-06-17 05:57 UTCVendor advisory
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 07:52 UTCEG score recompute
- 2026-06-16 07:52 UTCVendor advisory
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 00:29 UTCEG score recompute
- 2026-06-15 00:29 UTCVendor advisory
- 2026-06-14 02:22 UTCEG score recompute
- 2026-06-14 02:22 UTCVendor advisory
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 12:54 UTCEG score recompute
- 2026-06-12 12:54 UTCVendor advisory
- 2026-06-11 14:47 UTCEG score recompute
- 2026-06-11 14:47 UTCVendor advisory
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 16:42 UTCEG score recompute
- 2026-06-10 16:42 UTCVendor advisory
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-09 18:38 UTCEG score recompute
- 2026-06-09 18:38 UTCVendor advisory
- 2026-06-08 20:33 UTCEG score recompute
- 2026-06-08 20:33 UTCVendor advisory
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-07 19:00 UTCEG score recompute
- 2026-06-07 19:00 UTCVendor advisory
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-06 20:55 UTCEG score recompute
- 2026-06-06 20:55 UTCVendor advisory
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:50 UTCEG score recompute
- 2026-06-05 22:50 UTCVendor advisory
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 00:36 UTCEG score recompute
- 2026-06-05 00:36 UTCVendor advisory
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 01:42 UTCEG score recompute
- 2026-06-04 01:42 UTCVendor advisory
- 2026-06-03 03:37 UTCEG score recompute
- 2026-06-03 03:37 UTCVendor advisory
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-02 05:31 UTCEG score recompute
- 2026-06-02 05:31 UTCVendor advisory
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 07:25 UTCEG score recompute
- 2026-06-01 07:25 UTCVendor advisory
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Frequently asked(5)
What is CVE-2026-42310?
When was CVE-2026-42310 disclosed?
Is CVE-2026-42310 actively exploited?
What is the CVSS score of CVE-2026-42310?
How do I remediate CVE-2026-42310?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-42310
Is Your Infrastructure Affected by CVE-2026-42310?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.