CVE Explorer
CVE-2026-42310
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"Pillow","vendor":"python-pillow","versions":[{"status":"affected","version":">= 4.2.0, < 12.2.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:bef15d9207931cf65cd098d3c2b4c3c8cfbc007a558faf6ff268279952e36fa8 · sha256:4b18350c60c56a2e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":5.1,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:bef15d9207931cf65cd098d3c2b4c3c8cfbc007a558faf6ff268279952e36fa8 · sha256:4b18350c60c56a2e… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-835","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:bef15d9207931cf65cd098d3c2b4c3c8cfbc007a558faf6ff268279952e36fa8 · sha256:4b18350c60c56a2e… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/commit/3bf614e4b8615d0ce1d5039efaf6db447fe7c468"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bef15d9207931cf65cd098d3c2b4c3c8cfbc007a558faf6ff268279952e36fa8 · sha256:4b18350c60c56a2e… · /containers/cna/references/2
{"name":"https://github.com/python-pillow/Pillow/pull/9519","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/pull/9519"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bef15d9207931cf65cd098d3c2b4c3c8cfbc007a558faf6ff268279952e36fa8 · sha256:4b18350c60c56a2e… · /containers/cna/references/1
{"name":"https://github.com/python-pillow/Pillow/releases/tag/12.2.0","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/releases/tag/12.2.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bef15d9207931cf65cd098d3c2b4c3c8cfbc007a558faf6ff268279952e36fa8 · sha256:4b18350c60c56a2e… · /containers/cna/references/3
{"name":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-r73j-pqj5-w3x7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:bef15d9207931cf65cd098d3c2b4c3c8cfbc007a558faf6ff268279952e36fa8 · sha256:4b18350c60c56a2e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.