Python Pillow vulnerabilities
62 known vulnerabilities affecting python/pillow.
Total CVEs
62
CISA KEV
1
actively exploited
Public exploits
1
Exploited in wild
2
Severity breakdown
CRITICAL11HIGH27MEDIUM23LOW1
Vulnerabilities
Page 2 of 4
CVE-2019-16865P3HIGHCVSS 7.5fixed in 6.2.02019-10-04
CVE-2019-16865 [HIGH] CWE-770 CVE-2019-16865: An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files,
An issue was discovered in Pillow before 6.2.0. When reading specially crafted invalid image files, the library can either allocate very large amounts of memory or take an extremely long period of time to process the image.
ghsanvdosv
CVE-2016-9190P3HIGHCVSS 7.8≤ 3.3.12016-11-04
CVE-2016-9190 [HIGH] CWE-284 CVE-2016-9190: Pillow before 3.3.2 allows context-dependent attackers to execute arbitrary code by using the "craft
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.
ghsanvdosv
CVE-2021-28677P3HIGHCVSS 7.5fixed in 8.2.02021-06-02
CVE-2021-28677 [HIGH] CVE-2021-28677: An issue was discovered in Pillow before 8.2.0. For EPS data, the readline implementation used in EP
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
ghsanvdosv
CVE-2021-28676P3HIGHCVSS 7.5fixed in 8.2.02021-06-02
CVE-2021-28676 [HIGH] CWE-835 CVE-2021-28676: An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that
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.
ghsanvdosv
CVE-2021-27922P3HIGHCVSS 7.5fixed in 8.1.12021-03-03
CVE-2021-27922 [HIGH] CWE-20 CVE-2021-27922: Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the r
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.
ghsanvdosv
CVE-2021-23437P3HIGHCVSS 7.5≥ 5.2.0, < 8.3.2fixed in unspecified+1 more2021-09-03
CVE-2021-23437 [HIGH] CWE-125 CVE-2021-23437: The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (Re
The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.
ghsanvdosv
CVE-2021-25293P3HIGHCVSS 7.5fixed in 8.1.12021-03-19
CVE-2021-25293 [HIGH] CWE-125 CVE-2021-25293: An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.
An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.
ghsanvdosv
CVE-2022-45198P3HIGHCVSS 7.5fixed in 9.2.02022-11-14
CVE-2022-45198 [HIGH] CVE-2022-45198: Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).
Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).
ghsanvdosv
CVE-2021-27921P3HIGHCVSS 7.5fixed in 8.1.12021-03-03
CVE-2021-27921 [HIGH] CWE-20 CVE-2021-27921: Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the r
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.
ghsanvdosv
CVE-2021-27923P3HIGHCVSS 7.5fixed in 8.1.12021-03-03
CVE-2021-27923 [HIGH] CWE-20 CVE-2021-27923: Pillow before 8.1.2 allows attackers to cause a denial of service (memory consumption) because the r
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.
ghsanvdosv
CVE-2021-25290P3HIGHCVSS 7.5fixed in 8.1.12021-03-19
CVE-2021-25290 [HIGH] CWE-787 CVE-2021-25290: An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy w
An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.
ghsanvdosv
CVE-2019-19911P3HIGHCVSS 7.5fixed in 6.2.22020-01-05
CVE-2019-19911 [HIGH] CWE-190 CVE-2019-19911: There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range fu
There is a DoS vulnerability in Pillow before 6.2.2 caused by FpxImagePlugin.py calling the range function on an unvalidated 32-bit integer if the number of bands is large. On Windows running 32-bit Python, this results in an OverflowError or MemoryError due to the 2 GB limit. However, on Linux running 64-bit Python this results in the process being t
ghsanvdosv
CVE-2021-25291P4HIGHCVSS 7.5fixed in 8.1.12021-03-19
CVE-2021-25291 [HIGH] CWE-125 CVE-2021-25291: An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is an out-of-bounds read in T
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.
ghsanvdosv
CVE-2023-44271P4HIGHCVSS 7.5fixed in 10.0.02023-11-03
CVE-2023-44271 [HIGH] CWE-770 CVE-2023-44271: An issue was discovered in Pillow before 10.0.0. It is a Denial of Service that uncontrollably alloc
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.
ghsanvdosv
CVE-2020-10379P4HIGHCVSS 7.8fixed in 7.1.02020-06-25
CVE-2020-10379 [HIGH] CWE-120 CVE-2020-10379: In Pillow before 7.1.0, there are two Buffer Overflows in libImaging/TiffDecode.c.
In Pillow before 7.1.0, there are two Buffer Overflows in libImaging/TiffDecode.c.
ghsanvdosv
CVE-2020-5313P4HIGHCVSS 7.1fixed in 6.2.22020-01-03
CVE-2020-5313 [HIGH] CWE-125 CVE-2020-5313: libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.
ghsanvdosv
CVE-2022-45199P4HIGHCVSS 7.5fixed in 9.3.02022-11-14
CVE-2022-45199 [HIGH] CWE-400 CVE-2022-45199: Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL.
Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL.
ghsanvdosv
CVE-2016-0740P4MEDIUMCVSS 6.5≤ 3.1.02016-04-13
CVE-2016-0740 [MEDIUM] CWE-119 CVE-2016-0740: Buffer overflow in the ImagingLibTiffDecode function in libImaging/TiffDecode.c in Pillow before 3.1
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.
ghsanvdosv
CVE-2022-22816P4MEDIUMCVSS 6.5fixed in 9.0.02022-01-10
CVE-2022-22816 [MEDIUM] CWE-125 CVE-2022-22816: path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImageP
path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.
ghsanvdosv
CVE-2020-35653P4HIGHCVSS 7.1fixed in 8.1.02021-01-12
CVE-2020-35653 [HIGH] CWE-125 CVE-2020-35653: In Pillow before 8.1.0, PcxDecode has a buffer over-read when decoding a crafted PCX file because th
In Pillow before 8.1.0, PcxDecode has a buffer over-read when decoding a crafted PCX file because the user-supplied stride value is trusted for buffer calculations.
ghsanvdosv