Python Pillow vulnerabilities, page 4

113 vulnerabilities

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

RoutineCVE-2024-28219debian · debian_linux +45 moredebian debian_linuxIn _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.CVSS6.7MediumEPSS1.00%PrioritiseCVE-2023-50447debian · debian_linux +47 moredebian debian_linuxPillow 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).CVSS8.1HighEPSS1.70%PrioritiseCVE-2023-44271fedoraproject · fedora +29 morefedoraproject fedoraAn 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.CVSS7.5HighEPSS1.36%PrioritiseCVE-2022-45199python · pillow +2 morepython pillowPillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL.CVSS7.5HighEPSS1.51%PrioritiseCVE-2022-45198python · pillow +7 morepython pillowPillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification).CVSS7.5HighEPSS1.64%PrioritiseCVE-2022-30595python · pillow +5 morepython pillowlibImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files.CVSS9.8CriticalEPSS2.35%PrioritiseCVE-2022-24303fedoraproject · fedora +6 morefedoraproject fedoraPillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled.CVSS9.1CriticalEPSS2.69%PrioritiseCVE-2022-22817debian · debian_linux +6 moredebian debian_linuxPIL.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.CVSS9.8CriticalEPSS3.68%RoutineCVE-2022-22816debian · debian_linux +6 moredebian debian_linuxpath_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.CVSS6.5MediumEPSS2.06%RoutineCVE-2022-22815debian · debian_linux +6 moredebian debian_linuxpath_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.CVSS6.5MediumEPSS2.35%PrioritiseCVE-2021-23437fedoraproject · fedora +13 moreRegular Expression Denial of Service (ReDoS)The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.CVSS7.5HighEPSS3.24%PrioritiseCVE-2021-34552debian · debian_linux +13 moredebian debian_linuxPillow 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.CVSS9.8CriticalEPSS2.68%PrioritiseCVE-2021-28677fedoraproject · fedora +6 morefedoraproject fedoraAn 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.CVSS7.5HighEPSS2.47%RoutineCVE-2021-28678fedoraproject · fedora +6 morefedoraproject fedoraAn 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.CVSS5.5MediumEPSS0.73%PrioritiseCVE-2021-25288fedoraproject · fedora +6 morefedoraproject fedoraAn issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_gray_i.CVSS9.1CriticalEPSS2.39%PrioritiseCVE-2021-25287fedoraproject · fedora +6 morefedoraproject fedoraAn issue was discovered in Pillow before 8.2.0. There is an out-of-bounds read in J2kDecode, in j2ku_graya_la.CVSS9.1CriticalEPSS2.39%RoutineCVE-2021-28675fedoraproject · fedora +6 morefedoraproject fedoraAn 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.CVSS5.5MediumEPSS1.19%PrioritiseCVE-2021-28676fedoraproject · fedora +6 morefedoraproject fedoraAn 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.CVSS7.5HighEPSS2.50%PrioritiseCVE-2021-25293python · pillow +5 morepython pillowAn issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.CVSS7.5HighEPSS1.60%RoutineCVE-2021-25292python · pillow +5 morepython pillowAn 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.CVSS6.5MediumEPSS1.73%