{"schema_version":"1.9.0","id":"CVE-2022-30595","published":"2022-05-25T11:46:45Z","modified":"2026-08-12T03:51:18.325067208Z","aliases":["BIT-pillow-2022-30595","GHSA-hr8g-f6r6-mr22","PYSEC-2022-43145"],"related":["openSUSE-SU-2024:12111-1","openSUSE-SU-2025:14645-1"],"details":"libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python-pillow/pillow","events":[{"introduced":"5d070222d21138d2ead002fd33fdf5adcb708941"},{"last_affected":"5d070222d21138d2ead002fd33fdf5adcb708941"}],"database_specific":{"cpe":"cpe:2.3:a:python:pillow:9.1.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"9.1.0"},{"last_affected":"9.1.0"}],"source":"CPE_STRING"}}],"versions":["9.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30595.json"}}],"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"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30595.json"}}