CVE Explorer
CVE-2026-42311
Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"Pillow","vendor":"python-pillow","versions":[{"status":"affected","version":">= 10.3.0, < 12.2.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.6,"baseSeverity":"HIGH","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:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-190","description":"CWE-190: Integer Overflow or Wraparound","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"name":"https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /containers/cna/references/2
{"name":"https://github.com/python-pillow/Pillow/pull/9520","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/pull/9520"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /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:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /containers/cna/references/3
{"name":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c1f394eb5ffb3ab802c240ec6ccc79b5c1fe12c6b0e28d373a4cee99f597191c · sha256:2e0835598e3d4818… · /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.