← Back

Pillow

pillow

Vendor: Python • 72 CVEs

CVEs (72)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
2Debian
Python
2Debian Linux
Pillow
Jun 17, 2026
Jan 19, 2024
N/A· v4
8.1 HIGH· v3
N/A· v2
Pillow through 10.1.0 allows PIL.ImageMath.eval Arbitrary Code Execution via the environment parameter, a different vulnerability than CVE-2022-22817 (which was about the expression parameter).
2Fedoraproject
Python
2Fedora
Pillow
Jun 17, 2026
Nov 3, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs...Show more
An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably allocates memory to process a given task, potentially causing a service to crash by having it run out of memory. This occurs for truetype in ImageFont when textlength in an ImageDraw instance operates on a long text argument.Show less
1Python
1Pillow
Jun 17, 2026
Nov 14, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL.
1Python
1Pillow
Jun 17, 2026
Nov 14, 2022
N/A· v4
7.5 HIGH· v3
N/A· v2
Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).
1Python
1Pillow
Jun 17, 2026
May 25, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.
2Fedoraproject
Python
2Fedora
Pillow
Jun 17, 2026
Mar 28, 2022
N/A· v4
9.1 CRITICAL· v3
6.4 MEDIUM· v2
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.
2Debian
Python
2Debian Linux
Pillow
Jun 17, 2026
Jan 10, 2022
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method. A lambda expression could also be used.
2Debian
Python
2Debian Linux
Pillow
Jun 17, 2026
Jan 10, 2022
N/A· v4
6.5 MEDIUM· v3
6.4 MEDIUM· v2
path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.
2Debian
Python
2Debian Linux
Pillow
Jun 17, 2026
Jan 10, 2022
N/A· v4
6.5 MEDIUM· v3
6.4 MEDIUM· v2
path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.
2Fedoraproject
Python
2Fedora
Pillow
Jun 17, 2026
Sep 3, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
3Debian
FedoraprojectPython
3Debian Linux
FedoraPillow
Jun 17, 2026
Jul 13, 2021
N/A· v4
9.8 CRITICAL· v3
7.5 HIGH· v2
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.
2Fedoraproject
Python
2Fedora
Pillow
Jun 17, 2026
Jun 2, 2021
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
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 larg...Show more
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.Show less
2Fedoraproject
Python
2Fedora
Pillow
Jun 17, 2026
Jun 2, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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 ac...Show more
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.Show less
2Fedoraproject
Python
2Fedora
Pillow
Jun 17, 2026
Jun 2, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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.
2Fedoraproject
Python
2Fedora
Pillow
Jun 17, 2026
Jun 2, 2021
N/A· v4
9.1 CRITICAL· v3
6.4 MEDIUM· v2
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.
2Fedoraproject
Python
2Fedora
Pillow
Jun 17, 2026
Jun 2, 2021
N/A· v4
9.1 CRITICAL· v3
6.4 MEDIUM· v2
An issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.
2Fedoraproject
Python
2Fedora
Pillow
Jun 17, 2026
Jun 2, 2021
N/A· v4
5.5 MEDIUM· v3
4.3 MEDIUM· v2
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 Imag...Show more
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.Show less
1Python
1Pillow
Jun 17, 2026
Mar 19, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.
1Python
1Pillow
Jun 17, 2026
Mar 19, 2021
N/A· v4
6.5 MEDIUM· v3
4.3 MEDIUM· v2
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.
1Python
1Pillow
Jun 17, 2026
Mar 19, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
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.