{"id":"UBUNTU-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.","modified":"2025-07-16T08:28:02.707842Z","published":"2022-05-25T12:15:00Z","withdrawn":"2025-07-18T16:49:26Z","upstream":["CVE-2022-30595"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-30595"},{"type":"REPORT","url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.1.1.html#security"},{"type":"REPORT","url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.1.1.html"},{"type":"REPORT","url":"https://github.com/python-pillow/Pillow/blob/main/src/libImaging/TgaRleDecode.c"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-30595"}],"affected":[{"package":{"name":"pillow","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/pillow@9.0.1-1build1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"9.0.1-1build1"}]}],"versions":["8.1.2+dfsg-0.3","9.0.0-1","9.0.1-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"python-pil-doc","binary_version":"9.0.1-1build1"},{"binary_name":"python3-pil","binary_version":"9.0.1-1build1"},{"binary_version":"9.0.1-1build1","binary_name":"python3-pil-dbgsym"},{"binary_name":"python3-pil.imagetk","binary_version":"9.0.1-1build1"},{"binary_name":"python3-pil.imagetk-dbgsym","binary_version":"9.0.1-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30595.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}