VYPR

Pillow

by Python (programming language)

pypi: pillow

Source repositories

CVEs (114)

  • CVE-2021-23437HigSep 3, 2021
    risk 0.42cvss 7.5epss 0.03

    The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function.

  • CVE-2021-28677HigJun 2, 2021
    risk 0.42cvss 7.5epss 0.02

    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…

  • CVE-2021-28676HigJun 2, 2021
    risk 0.42cvss 7.5epss 0.03

    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.

  • CVE-2021-25293HigMar 19, 2021
    risk 0.42cvss 7.5epss 0.02

    An issue was discovered in Pillow before 8.1.1. There is an out-of-bounds read in SGIRleDecode.c.

  • CVE-2021-25291HigMar 19, 2021
    risk 0.42cvss 7.5epss 0.01

    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.

  • CVE-2021-25290HigMar 19, 2021
    risk 0.42cvss 7.5epss 0.02

    An issue was discovered in Pillow before 8.1.1. In TiffDecode.c, there is a negative-offset memcpy with an invalid size.

  • CVE-2021-27923HigMar 3, 2021
    risk 0.42cvss 7.5epss 0.03

    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.

  • CVE-2021-27922HigMar 3, 2021
    risk 0.42cvss 7.5epss 0.05

    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.

  • CVE-2021-27921HigMar 3, 2021
    risk 0.42cvss 7.5epss 0.03

    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.

  • CVE-2019-19911HigJan 5, 2020
    risk 0.42cvss 7.5epss 0.02

    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.…

  • CVE-2019-16865HigOct 4, 2019
    risk 0.42cvss 7.5epss 0.03

    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.

  • CVE-2026-112896HigOct 19, 2026
    risk 0.39cvss 7.1epss 0.00

    Pillow is a Python imaging library. Prior to 13.0.0, Pillow's TIFF encoder can read beyond a ColorMap buffer when retained TIFF metadata has a plane size inconsistent with BitsPerSample. A small TIFF can be opened normally and then retain a crafted ColorMap that is reused when…

  • CVE-2025-48379HigJul 1, 2025
    risk 0.39cvss 7.1epss 0.00

    Pillow is a Python imaging library. In versions 11.2.0 to before 11.3.0, there is a heap buffer overflow when writing a sufficiently large (>64k encoded with default settings) image in the DDS format due to writing into a buffer without checking for available space. This only…

  • CVE-2020-35653HigJan 12, 2021
    risk 0.39cvss 7.1epss 0.02

    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.

  • CVE-2020-5313HigJan 3, 2020
    risk 0.39cvss 7.1epss 0.03

    libImaging/FliDecode.c in Pillow before 6.2.2 has an FLI buffer overflow.

  • CVE-2024-28219MedApr 3, 2024
    risk 0.37cvss 6.7epss 0.01

    In _imagingcms.c in Pillow before 10.3.0, a buffer overflow exists because strcpy is used instead of strncpy.

  • CVE-2021-28678MedJun 2, 2021
    risk 0.36cvss 5.5epss 0.01

    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.

  • CVE-2021-28675MedJun 2, 2021
    risk 0.36cvss 5.5epss 0.01

    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.

  • CVE-2016-3076MedApr 24, 2017
    risk 0.36cvss 5.5epss 0.03

    Heap-based buffer overflow in the j2k_encode_entry function in Pillow 2.5.0 through 3.1.1 allows remote attackers to cause a denial of service (memory corruption) via a crafted Jpeg2000 file.

  • CVE-2016-9189MedNov 4, 2016
    risk 0.36cvss 5.5epss 0.02

    Pillow before 3.3.2 allows context-dependent attackers to obtain sensitive information by using the "crafted image file" approach, related to an "Integer Overflow" issue affecting the Image.core.map_buffer in map.c component.

Page 4 of 6