Safety vulnerability ID: 67137
The information on this page was manually curated by our Cybersecurity Intelligence Team.
Pillow 9.1.1 addresses the CVE-2022-30595: libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
Latest version: 10.3.0
Python Imaging Library (Fork)
This release addresses several security problems.
[CVE-2022-30595](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30595): 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`](https://docs.python.org/3/library/exceptions.html#SyntaxError) instead, in turn raising a `PIL.UnidentifiedImageError`.
Scan your Python project for dependency vulnerabilities in two minutes
Scan your application