Python Pillow vulnerabilities

73 vulnerabilities

Known vulnerabilities in Python Pillow, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

7.5CVE-2021-25291alpinepy3-pillow+5
EPSS score
1.40%
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in TiffreadRGBATile via invalid tile boundaries.
7.5CVE-2021-25290alpinepy3-pillow+6
EPSS score
2.37%
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
6.5CVE-2021-25292alpinepy3-pillow+5
EPSS score
1.64%
An issue was discovered in Pillow before 8.1.1. The PDF parser allows a regular expression DoS (ReDoS) attack via a crafted PDF file because of a catastrophic backtracking regex.
9.1CVE-2021-25287alpinepy3-pillow+6
EPSS score
2.93%
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
9.8CVE-2021-25289alpinepy3-pillow+5
EPSS score
2.34%
An issue was discovered in Pillow before 8.1.1. TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode. NOTE: this issue exists because of an incomplete fix for CVE-2020-35654.
9.1CVE-2021-25288alpinepy3-pillow+6
EPSS score
2.39%
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
7.5CVE-2021-25293alpinepy3-pillow+5
EPSS score
1.60%
An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.
7.5CVE-2021-27921alpinepy3-pillow+6
EPSS score
3.17%
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for a BLP container, and thus an attempted memory allocation can be very large.
7.5CVE-2021-27923alpinepy3-pillow+6
EPSS score
3.04%
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICO container, and thus an attempted memory allocation can be very large.
7.5CVE-2021-27922alpinepy3-pillow+6
EPSS score
4.85%
Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the reported size of a contained image is not properly checked for an ICNS container, and thus an attempted memory allocation can be very large.
5.5CVE-2021-28678alpinepy3-pillow+6
EPSS score
0.73%
An issue was discovered in Pillow before 8.2.0. For BLP data, BlpImagePlugin did not properly check that reads (after jumping to file offsets) returned data. This could lead to a DoS where the decoder could be run a large number of times on empty data.
7.5CVE-2021-28676alpinepy3-pillow+6
EPSS score
2.50%
An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.
5.5CVE-2021-28675alpinepy3-pillow+6
EPSS score
0.96%
An issue was discovered in Pillow before 8.2.0. PSDImagePlugin.PsdImageFile lacked a sanity check on the number of input layers relative to the size of the data block. This could lead to a DoS on Image.open prior to Image.load.
7.5CVE-2021-28677alpinepy3-pillow+6
EPSS score
2.34%
An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EPSImageFile has to deal with any combination of \r and \n as line endings. It used an accidentally quadratic method of accumulating lines while looking for a line ending. A malicious EPS file could use this to perform a DoS of Pillow in the open phase, before an image was accepted for opening.
9.8CVE-2021-34552alpinepy3-pillow+13
EPSS score
3.19%
Pillow through 8.2.0 and PIL (aka Python Imaging Library) through 1.1.7 allow an attacker to pass controlled parameters directly into a convert function to trigger a buffer overflow in Convert.c.
7.5CVE-2021-23437alpinepy-pillow+13
EPSS score
3.18%
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
6.5CVE-2016-2533debianpillow+5
EPSS score
4.03%
Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.
6.5CVE-2016-0740debianpillow+4
EPSS score
2.66%
Buffer overflow in the ImagingLibTiffDecode function in libImaging/TiffDecode.c in Pillow before 3.1.1 allows remote attackers to overwrite memory via a crafted TIFF file.
6.5CVE-2016-0775debianpillow+4
EPSS score
2.52%
Buffer overflow in the ImagingFliDecode function in libImaging/FliDecode.c in Pillow before 3.1.1 allows remote attackers to cause a denial of service (crash) via a crafted FLI file.
7.8CVE-2016-9190debianpillow+4
EPSS score
1.90%
Pillow before 3.3.2 allows context-dependent attackers to execute arbitrary code by using the "crafted image file" approach, related to an "Insecure Sign Extension" issue affecting the ImagingNew in Storage.c component.