{"cve":"CVE-2026-42311","nvd":{"published":"2026-05-09T06:16:10.430","modified":"2026-07-24T21:10:00.143","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":8.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-190","CWE-787"],"references":["https://github.com/python-pillow/Pillow/commit/58f9a1d166dcb0c274807d4423522d205b0c35ea","https://github.com/python-pillow/Pillow/pull/9520","https://github.com/python-pillow/Pillow/releases/tag/12.2.0","https://github.com/python-pillow/Pillow/security/advisories/GHSA-pwv6-vv43-88gr"],"products":["python:pillow"],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-42311","score":0.0015,"percentile":0.0413,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-pwv6-vv43-88gr","url":"https://osv.dev/vulnerability/GHSA-pwv6-vv43-88gr","summary":"Pillow has an OOB Write with Invalid PSD Tile Extents (Integer Overflow)","modified":"2026-09-10T03:50:47.242104143Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=10.3.0 <12.2.0"],"fixed":["12.2.0"]}]},{"id":"PYSEC-2026-2252","url":"https://osv.dev/vulnerability/PYSEC-2026-2252","summary":"","modified":"2026-07-13T07:26:52.198871129Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=10.3.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."]}