VYPR

Pillow

by Python (programming language)

pypi: pillow

Source repositories

CVEs (73)

  • 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-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.01

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

  • CVE-2016-2533MedApr 13, 2016
    risk 0.36cvss 6.5epss 0.04

    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.

  • CVE-2026-59198MedJul 14, 2026
    risk 0.35cvss 6.5epss 0.00

    Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. This issue is fixed in…

  • CVE-2022-22816MedJan 10, 2022
    risk 0.35cvss 6.5epss 0.02

    path_getbbox in path.c in Pillow before 9.0.0 has a buffer over-read during initialization of ImagePath.Path.

  • CVE-2022-22815MedJan 10, 2022
    risk 0.35cvss 6.5epss 0.03

    path_getbbox in path.c in Pillow before 9.0.0 improperly initializes ImagePath.Path.

  • CVE-2021-25292MedMar 19, 2021
    risk 0.35cvss 6.5epss 0.02

    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.

  • CVE-2016-0775MedApr 13, 2016
    risk 0.35cvss 6.5epss 0.03

    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.

  • CVE-2016-0740MedApr 13, 2016
    risk 0.35cvss 6.5epss 0.03

    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.

  • CVE-2026-42310MedMay 9, 2026
    risk 0.29cvss 5.5epss 0.00

    Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive. This issue has been patched in version 12.2.0.

  • CVE-2026-42309MedMay 9, 2026
    risk 0.29cvss 5.5epss 0.00

    Pillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as coordinates to APIs that accept coordinates such as ImagePath.Path, ImageDraw.ImageDraw.polygon and ImageDraw.ImageDraw.line could cause a heap buffer overflow, as nested…

  • CVE-2026-42308MedMay 9, 2026
    risk 0.29cvss 5.5epss 0.00

    Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This issue has been patched in version 12.2.0.

  • CVE-2020-10994MedJun 25, 2020
    risk 0.29cvss 5.5epss 0.01

    In libImaging/Jpeg2KDecode.c in Pillow before 7.1.0, there are multiple out-of-bounds reads via a crafted JP2 file.