{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-30595","id":"CVE-2022-30595","title":"Buffer over-flow in Pillow","description":"libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.","descriptionLong":"libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.","published":"2022-05-25T11:46:45.000Z","updated":"2026-10-28T02:30:42.652007613Z","reserved":"2022-05-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=9.1.0 <9.1.1"],"fixed":["9.1.1"],"advisory":"GHSA-hr8g-f6r6-mr22"}],"cwes":["CWE-787","CWE-120"],"aliases":["BIT-pillow-2022-30595","GHSA-hr8g-f6r6-mr22","PYSEC-2022-43145"],"references":[{"url":"https://github.com/python-pillow/Pillow/blob/main/src/libImaging/TgaRleDecode.c","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/9.1.1.html","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30595.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30595","tags":["advisory"]},{"url":"https://github.com/python-pillow/Pillow/commit/c846cc881ebe34e3518412c2e3636433d9947280","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2022-43145.yaml","tags":["web"]},{"url":"https://github.com/python-pillow/Pillow","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02347,"epssPercentile":0.84028,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-30595","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30595","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-30595","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hr8g-f6r6-mr22","ok":true,"note":"GHSA-hr8g-f6r6-mr22"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-30595","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}