{"id":"CVE-2022-30595","details":"libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.","aliases":["BIT-pillow-2022-30595","GHSA-hr8g-f6r6-mr22","PYSEC-2022-43145"],"modified":"2026-05-18T05:53:48.474638176Z","published":"2022-05-25T11:46:45Z","related":["openSUSE-SU-2024:12111-1","openSUSE-SU-2025:14645-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30595.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/python-pillow/Pillow/blob/main/src/libImaging/TgaRleDecode.c"},{"type":"WEB","url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.1.1.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30595.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30595"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"0"},{"last_affected":"5d070222d21138d2ead002fd33fdf5adcb708941"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"9.1.0"}],"source":"CPE_FIELD","cpe":"cpe:2.3:a:python:pillow:9.1.0:*:*:*:*:*:*:*"}}],"versions":["9.1.0","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/osv-test-cve-osv-conversion/osv-output/CVE-2022-30595.json"}}],"schema_version":"1.7.5"}