{"id":"CVE-2022-24303","aliases":["BIT-pillow-2022-24303","GHSA-9j59-75qj-795w","PYSEC-2022-168"],"url":"https://o3.security/vulnerability/CVE-2022-24303","summary":"Path traversal in Pillow","details":"Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.","published":"2022-03-28T00:00:00Z","modified":"2026-08-12T03:51:45.226471977Z","cvss":{"score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"},"epss":{"score":0.02879,"percentile":0.86174,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pillow","fixedVersion":"9.0.1"}],"fix":{"url":"https://github.com/python-pillow/Pillow/pull/3450","label":"python-pillow/Pillow#3450"},"references":[{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html#security"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24303.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24303"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202211-10"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/pull/3450"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/pull/6010"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/10c4f75aaa383bd9671e923e3b91d391ea12d781"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/143032103c9f2d55a0a7960bd3e630cb72549e8a"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/commit/427221ef5f19157001bf8b1ad7cfe0b905ca8c26"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9j59-75qj-795w"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-168.yaml"},{"type":"PACKAGE","url":"https://github.com/python-pillow/Pillow"},{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/e8ab5640774716c5486d3cb05167f74f742ad6ef/CHANGES.rst?plain=1#L1172"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W4ZUXPKEX72O3E5IHBPVY5ZCPMJ4GHHV"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XR6UP2XONXOVXI4446VY72R63YRO2YTP"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:45.226471977Z"}}