{"cve":"CVE-2026-42310","nvd":{"published":"2026-05-09T06:16:10.273","modified":"2026-07-24T21:10:00.143","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":5.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-835"],"references":["https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468","https://github.com/python-pillow/Pillow/pull/9519","https://github.com/python-pillow/Pillow/releases/tag/12.2.0","https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7"],"products":["python:pillow"],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-42310","score":0.00171,"percentile":0.06506,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r73j-pqj5-w3x7","url":"https://osv.dev/vulnerability/GHSA-r73j-pqj5-w3x7","summary":"Pillow has a PDF Parsing Trailer Infinite Loop (DoS)","modified":"2026-09-10T03:50:55.309086884Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=4.2.0 <12.2.0"],"fixed":["12.2.0"]}]},{"id":"PYSEC-2026-2874","url":"https://osv.dev/vulnerability/PYSEC-2026-2874","summary":"Pillow has a PDF Parsing Trailer Infinite Loop (DoS)","modified":"2026-07-13T16:42:37.358429541Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=4.2.0 <12.2.0"],"fixed":["12.2.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}