Python Pillow vulnerabilities
113 CVEs affecting Python Pillow, 0 known to be exploited (CISA KEV), with EPSS scores. Latest: CVE-2026-112902, published 2026-11-05.
More from Python.
Highest priority
Known exploited (CISA KEV) first, then by EPSS exploit probability.
- CVE-2014-3007, published 2014-04-27. High severity, CVSS 10.0. EPSS: 10% probability of exploitation activity in the next 30 days. Python Image Library (PIL) 1.1.7 and earlier and Pillow 2.3 might allow remote attackers to execute arbitrary commands via shell metacharacters in unspecified vectors related to CVE-2014-1932,…
- CVE-2016-4009, published 2016-04-13. Critical severity, CVSS 9.8. EPSS: 7.9% probability of exploitation activity in the next 30 days. Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size,…
- CVE-2021-27922, published 2021-03-03. High severity, CVSS 7.5. EPSS: 4.9% probability of exploitation activity in the next 30 days. 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…
- CVE-2014-9601, published 2015-01-16. Medium severity, CVSS 5.0. EPSS: 4.7% probability of exploitation activity in the next 30 days. Pillow before 2.7.0 allows remote attackers to cause a denial of service via a compressed text chunk in a PNG image that has a large size when it is decompressed.
- CVE-2016-2533, published 2016-04-13. Medium severity, CVSS 6.5. EPSS: 4.0% probability of exploitation activity in the next 30 days. 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)…
- CVE-2020-5312, published 2020-01-03. Critical severity, CVSS 9.8. EPSS: 3.7% probability of exploitation activity in the next 30 days. libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow.
- CVE-2020-5311, published 2020-01-03. Critical severity, CVSS 9.8. EPSS: 3.7% probability of exploitation activity in the next 30 days. libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow.
- CVE-2014-3589, published 2014-08-25. Medium severity, CVSS 5.0. EPSS: 3.4% probability of exploitation activity in the next 30 days. PIL/IcnsImagePlugin.py in Python Imaging Library (PIL) and Pillow before 2.3.2 and 2.5.x before 2.5.2 allows remote attackers to cause a denial of service via a crafted block size.
- CVE-2021-23437, published 2021-09-03. High severity, CVSS 7.5. EPSS: 3.2% probability of exploitation activity in the next 30 days. 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-27921, published 2021-03-03. High severity, CVSS 7.5. EPSS: 3.2% probability of exploitation activity in the next 30 days. 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…
Latest
- CVE-2026-112902, published 2026-11-05. Critical severity, CVSS 9.1. EPSS: 0.7% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to TIFFSetField() that do not match libtiff’s definition of the corresponding tag. When…
- CVE-2026-112899, published 2026-11-05. Medium severity, CVSS 5.3. EPSS: 0.5% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. In versions 2.3.0 through 12.3.0, EPS rendering does not validate the scaled image dimensions before invoking Ghostscript. Applications that process untrusted EPS…
- CVE-2026-114501, published 2026-10-21. Medium severity, CVSS 5.3. EPSS: 0.4% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. From 11.2.1 until 13.0.0, Arrow export assumes that an image's rows are tightly contiguous and exports from im->blocks[0].ptr even when PILLOW_ALIGNMENT makes…
- CVE-2026-96778, published 2026-10-21. High severity, CVSS 8.8. EPSS: 0.6% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. From 9.4.0 until 13.0.0, ImagingJpegEncode() in src/libImaging/JpegEncode.c can call jpeg_write_marker() for a JPEG COM comment when an ICC profile has exactly…
- CVE-2026-96644, published 2026-10-21. High severity, CVSS 8.1. EPSS: 0.5% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. Prior to 13.0.0 on Windows, src/PIL/WmfImagePlugin.py passes unchecked 32-bit WMF or EMF dimensions to the native drawwmf handler in src/display.c. The handler…
- CVE-2026-96643, published 2026-10-21. Medium severity, CVSS 6.5. EPSS: 0.5% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. From 11.0.0 until 13.0.0, Exif.load() in src/PIL/Image.py repeatedly slices the remaining EXIF data while it begins with the six-byte Exif header.…
- CVE-2026-96642, published 2026-10-21. Medium severity, CVSS 6.5. EPSS: 0.5% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte…
- CVE-2026-96641, published 2026-10-21. Medium severity, CVSS 6.5. EPSS: 0.5% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. Prior to 13.0.0, PILfont text-width accumulation in src/_imaging.c checks positive glyph advances against INT_MAX but does not check negative advances against…
- CVE-2026-96640, published 2026-10-21. High severity, CVSS 7.5. EPSS: 0.6% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py treats a PDF /Pages graph as a tree without tracking duplicate indirect…
- CVE-2026-96639, published 2026-10-21. Critical severity, CVSS 9.8. EPSS: 1.0% probability of exploitation activity in the next 30 days. Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions…