{"schema_version":"1.9.0","id":"CVE-2022-24303","published":"2022-03-28T00:00:00Z","modified":"2026-08-12T03:51:45.226471977Z","aliases":["BIT-pillow-2022-24303","GHSA-9j59-75qj-795w","PYSEC-2022-168"],"related":["openSUSE-SU-2024:11814-1","openSUSE-SU-2025:14645-1"],"details":"Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"0"},{"fixed":"6deac9e3a23caffbfdd75c00d3f0a1cd36cdbd5d"}],"database_specific":{"cpe":"cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"9.0.1"}],"source":["DESCRIPTION","CPE_RANGE"]}}],"versions":["9.0.0","8.4.0","8.3.0","8.2.0","8.1.0","8.0.0","7.2.0","7.1.0","7.0.0","6.2.0","6.1.0","6.0.0","5.4.0","5.3.0","5.2.0","5.1.0","5.0.0","4.3.0","4.2.0","4.1.0","4.0.0","4.0.0a","3.4.0","3.3.0","3.2.0","3.1.0","3.1.0-rc1","2.9.0","2.9.0.dev2","2.9.0.dev1","2.9.0.dev0","2.8.1","2.8.0","2.7.0","2.5.0","2.3.0","2.2.1","2.2.0","2.1.0","2.0.0","1.7.8","1.7.7","1.2","1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24303.json"}}],"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"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24303.json"}}