Buffer overflow in Python Pillow
CVE-2022-30595
libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.023, 83.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Pillow — versions 9.1.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, jinshinvn/do-an-python, polypores/do-an-python, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/python-pillow/Pillow/blob/main/src/libImaging/TgaRleDecode.c (Exploit, Third Party Advisory)
- pillow.readthedocs.io/en/stable/releasenotes/9.1.1.html (Third Party Advisory, Release Notes)