{"id":"CVE-2026-42310","title":"Pillow: Pillow: Denial of Service via malicious PDF processing (CVE-2026-42310)","summary":"A flaw was found in Pillow, a Python imaging library. A remote attacker could supply a specially crafted malicious PDF file, causing the application to hang indefinitely and consume 100% CPU. This vulnerability leads to a Denial of Service…","severity":"medium","cvss":4,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","cvssSource":"vendor","cwe":"CWE-835","vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","affected":["exploit_intelligence","openshift_lightspeed","ai_inference_server","ansible_automation_platform 2","enterprise_linux_ai_rhel_ai 3","openshift_ai_rhoai","quay 3","ai_inference_server 3.3","ai_inference_server 3.4"],"patched":["ai_inference_server 3.3","ai_inference_server 3.4"],"published":"2026-05-09","updated":"2026-10-09","sourceUpdated":"2026-10-09T04:04:20+00:00","source":"CSAF","sourceUrl":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42310.json","references":[{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42310.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-42310"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2468461"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-42310"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42310"},{"url":"https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468"},{"url":"https://github.com/python-pillow/Pillow/pull/9519"},{"url":"https://github.com/python-pillow/Pillow/releases/tag/12.2.0"},{"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7"},{"url":"https://access.redhat.com/errata/RHSA-2026:16008"},{"url":"https://access.redhat.com/errata/RHSA-2026:16030"},{"url":"https://access.redhat.com/errata/RHSA-2026:16009"},{"url":"https://access.redhat.com/errata/RHSA-2026:57387"},{"url":"https://github.com/python-pillow/Pillow"}],"tags":["csaf","vex","red-hat","osv","pip"],"epss":0.00171,"epssPercentile":0.06497,"aliases":["GHSA-r73j-pqj5-w3x7","BIT-pillow-2026-42310","PYSEC-2026-2874"],"ecosystem":"pip","scores":{"vendor":4,"osv":5.5},"ingestedAt":"2026-07-13T18:58:02.525Z","slug":"CVE-2026-42310","body":"## Overview\n\nA flaw was found in Pillow, a Python imaging library. A remote attacker could supply a specially crafted malicious PDF file, causing the application to hang indefinitely and consume 100% CPU. This vulnerability leads to a Denial of Service (DoS), making the application unresponsive.\n\n## Vendor advisories\n\n- **RHSA-2026:16008** · Red Hat · fixed in: Red Hat AI Inference Server 3.3 · released 2026-05-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:16008)\n- **RHSA-2026:16030** · Red Hat · fixed in: Red Hat AI Inference Server 3.3 · released 2026-05-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:16030)\n- **RHSA-2026:16009** · Red Hat · fixed in: Red Hat AI Inference Server 3.3 · released 2026-05-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:16009)\n- **RHSA-2026:57387** · Red Hat · fixed in: Red Hat AI Inference Server 3.4 · released 2026-08-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:57387)\n- **Red Hat VEX** · Moderate · affected: Exploit Intelligence, OpenShift Lightspeed, Red Hat AI Inference Server, Red Hat Ansible Automation Platform 2, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift AI (RHOAI), … · no fix planned: Exploit Intelligence, Red Hat Ansible Automation Platform 2, Red Hat Quay 3, OpenShift Lightspeed, … · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42310.json)\n\n**Pillow: Pillow: Denial of Service via malicious PDF processing** — rated Moderate by Red Hat. Released 2026-05-09, updated 2026-10-09.\n\nAffected:\n\n- Exploit Intelligence\n- OpenShift Lightspeed\n- Red Hat AI Inference Server\n- Red Hat Ansible Automation Platform 2\n- Red Hat Enterprise Linux AI (RHEL AI) 3\n- Red Hat OpenShift AI (RHOAI)\n- Red Hat Quay 3\n\nFixed:\n\n- Red Hat AI Inference Server 3.3\n- Red Hat AI Inference Server 3.4\n\nNo fix planned:\n\n- Exploit Intelligence\n- Red Hat Ansible Automation Platform 2\n- Red Hat Quay 3\n- OpenShift Lightspeed\n- Red Hat AI Inference Server\n- Red Hat Enterprise Linux AI (RHEL AI) 3\n- Red Hat OpenShift AI (RHOAI)\n\nNot affected:\n\n- Red Hat Ansible Automation Platform 2\n- Red Hat OpenShift AI (RHOAI)\n\n## Remediation\n\nFor more information visit https://access.redhat.com/errata/RHSA-2026:16008 https://access.redhat.com/errata/RHSA-2026:16008\nFor more information visit https://access.redhat.com/errata/RHSA-2026:16030 https://access.redhat.com/errata/RHSA-2026:16030\nFor more information visit https://access.redhat.com/errata/RHSA-2026:16009 https://access.redhat.com/errata/RHSA-2026:16009\n\n## Package advisory (CVE-2026-42310)\n\nAffected packages:\n\n- `pillow >= 4.2.0, < 12.2.0`\n\nPatched in:\n\n- `pillow 12.2.0`\n\nSource: https://osv.dev/vulnerability/GHSA-r73j-pqj5-w3x7","depth":"sunlit","depthScore":22,"depthScoreParts":{"impact":22,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":218446,"id":"CVE-2026-42310","ts":1791533738074,"field":"cvss","old":"5.5","new":"4"}]}