CVE-2022-30595
highpriority · track · 40EPSS 0.023 · 83 %ileDEEURUUSEPSS · scored 2026-10-27
libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-0456tribe29 checkmk: Mehrere Schwachstellen ermöglichen nicht spezifizierten AngriffDeutsch2022-06-23csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in tribe29 checkmk ausnutzen, um einen nicht näher spezifizierten Angriff durchzuführen.
- GHSA-hr8g-f6r6-mr22Buffer over-flow in Pillow2022-05-26ghsa · osvUS
When reading a TGA file with RLE packets that cross scan lines, Pillow reads the information past the end of the first line without deducting that from the length of the remaining file data. This vulnerability was introduced in Pillow 9.1.0, and can cause a heap buffer overflow. Opening an image with a zero or negative height has been found to bypass a decompression bomb check. This will now raise a SyntaxError instead, in turn raising a PIL.UnidentifiedImageError.
- BIT-pillow-2022-305952024-03-06vendor · osvUS
libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
- PYSEC-2022-431452022-05-25vendor · osvUS
libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
also known as (8)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-30595cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-30595/cnnvd
- https://github.com/python-pillow/Pillow/blob/main/src/libImaging/TgaRleDecode.ccnnvd
- https://github.com/python-pillow/Pillow/releases/tag/9.1.1Patchcnnvd
- https://pillow.readthedocs.io/en/stable/releasenotes/9.1.1.htmlcnnvd
- https://vigilance.fr/vulnerability/Pillow-buffer-overflow-via-libImaging-TgaRleDecode-c-39338cnnvd
- https://www.cybersecurity-help.cz/vdb/SB2022051840cnnvd
- https://github.com/python-pillow/Pillow/blob/main/src/libImaging/TgaRleDecode.cenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan