PI
Product
Pillow
by Python · last CVE Oct 21, 2026
111
CVEs
0
On KEV
9.8
Max CVSS
38
New 30D
Severity mix
Critical 16High 60Medium 29Low 0
Watch

Add Pillow to your stack to get only the CVEs that touch what you run.

CVECVSSEPSSPublishedSummary · affected versions
CVE-2026-96639
New
9.8
1%
Oct 21
Pillow multi-frame loaders can reuse stale native image storage after mode transitions
Affected: 11.0.0 before 13.0.0
CVE-2026-112900
9.8
1%
Oct 19
Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
Affected: 2.6.0 before 13.0.0
CVE-2026-112403
9.8
1%
Oct 19
Pillow: Heap buffer overflow in ImagingJpegDecode
Affected: before 13.0.0
CVE-2026-112398
9.8
1%
Oct 19
Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution
Affected: before 13.0.0
CVE-2026-112393
9.8
1%
Oct 19
Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
Affected: 2.0.0 before 13.0.0
CVE-2022-30595
9.8
2%
May 25
libImaging/TgaRleDecode.c in Pillow 9.1.0 has a heap buffer overflow in the processing of invalid TGA image files
Affected: 9.1.0
CVE-2022-22817
9.8
3%
Jan 10
PIL.ImageMath.eval in Pillow before 9.0.0 allows evaluation of arbitrary expressions, such as ones that use the Python exec method
Affected: before 9.0.1
CVE-2021-34552
9.8
3%
Jul 13
Pillow 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…
Affected: 1.0 through 1.1.7; 1.2 through 8.2.0
CVE-2021-25289
9.8
2%
Mar 19
An issue was discovered in Pillow before 8.1.1
Affected: before 8.1.1
CVE-2020-5312
9.8
4%
Jan 3
libImaging/PcxDecode.c in Pillow before 6.2.2 has a PCX P mode buffer overflow
Affected: before 6.2.2
CVE-2020-5311
9.8
4%
Jan 3
libImaging/SgiRleDecode.c in Pillow before 6.2.2 has an SGI buffer overflow
Affected: before 6.2.2
CVE-2016-4009
9.8
8%
Apr 13
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…
Affected: through 3.1.0
CVE-2026-54058
9.1
1%
Jul 14
Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
Affected: before 12.3.0
CVE-2022-24303
9.1
3%
Mar 28
Pillow before 9.0.1 allows attackers to delete files because spaces in temporary pathnames are mishandled
Affected: before 9.0.1
CVE-2021-25288
9.1
2%
Jun 2
An issue was discovered in Pillow before 8.2.0
Affected: before 8.2.0
CVE-2021-25287
9.1
3%
Jun 2
An issue was discovered in Pillow before 8.2.0
Affected: before 8.2.0
CVE-2026-96778
New
8.8
1%
Oct 21
Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer
Affected: 9.4.0 before 13.0.0
CVE-2020-35654
8.8
2%
Jan 12
In Pillow before 8.1.0, TiffDecode has a heap-based buffer overflow when decoding crafted YCbCr files because of certain interpretation conflicts with LibTIFF in RGBA mode
Affected: before 8.1.0
CVE-2020-5310
8.8
2%
Jan 3
libImaging/TiffDecode.c in Pillow before 6.2.2 has a TIFF decoding integer overflow, related to realloc
Affected: before 6.2.2
CVE-2026-112404
8.2
0%
Oct 19
Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels
Affected: 8.1.0 before 13.0.0
CVE-2026-112395
8.2
1%
Oct 19
Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)
Affected: 8.2.0 before 13.0.0
CVE-2026-112394
8.2
1%
Oct 19
Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size
Affected: before 13.0.0
CVE-2026-59197
8.2
0%
Jul 14
Pillow: Heap out-of-bounds write in Pillow `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`
Affected: before 12.3.0
CVE-2026-96644
New
8.1
0%
Oct 21
Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
Affected: before 13.0.0
CVE-2023-50447
8.1
2%
Jan 19
Pillow 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…
Affected: through 10.1.0
CVE-2020-11538
8.1
3%
Jun 25
In libImaging/SgiRleDecode.c in Pillow through 7.0.0, a number of out-of-bounds reads exist in the parsing of SGI image files, a different issue than CVE-2020-5311
Affected: through 7.0.0
CVE-2026-42311
7.8
0%
May 9
Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)
Affected: 10.3.0 before 12.2.0
CVE-2020-10379
7.8
1%
Jun 25
In Pillow before 7.1.0, there are two Buffer Overflows in libImaging/TiffDecode.c
Affected: before 7.1.0
CVE-2016-9190
7.8
2%
Nov 4
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…
Affected: through 3.3.1
CVE-2026-96640
New
7.5
1%
Oct 21
Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion
Affected: 5.1.0 before 13.0.0
CVE-2026-112901
7.5
0%
Oct 19
Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes
Affected: before 13.0.0
CVE-2026-112895
7.5
0%
Oct 19
Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)
Affected: 5.1.0 before 13.0.0
CVE-2026-112894
7.5
1%
Oct 19
Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)
Affected: 5.1.0 before 13.0.0
CVE-2026-112893
7.5
0%
Oct 19
Pillow: Invalid free in FreeType glyph rendering when a stroker is active
Affected: 10.0.0 before 13.0.0
CVE-2026-112892
7.5
0%
Oct 19
Pillow: MSP RLE decoder expands a tiny file into unbounded memory
Affected: 4.1.0 before 13.0.0
CVE-2026-112891
7.5
0%
Oct 19
Pillow: Quadratic GIF comment copying during save
Affected: 9.2.0 before 13.0.0
CVE-2026-112406
7.5
0%
Oct 19
Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle
Affected: 5.1.0 before 13.0.0
CVE-2026-112405
7.5
0%
Oct 19
Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0
Affected: 12.0.0 before 13.0.0
CVE-2026-112402
7.5
1%
Oct 19
Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform
Affected: before 13.0.0
CVE-2026-112397
7.5
0%
Oct 19
Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
Affected: before 13.0.0
CVE-2026-112392
7.5
1%
Oct 19
Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images
Affected: before 13.0.0
CVE-2026-112401
7.5
0%
Oct 19
Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()
Affected: 5.4.0 before 13.0.0
CVE-2026-112400
7.5
1%
Oct 19
Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS
Affected: 9.2.0 before 13.0.0
CVE-2026-112399
7.5
0%
Oct 19
Pillow: APNG background disposal allocates full canvas before decompression bomb check
Affected: 8.1.0 before 13.0.0
CVE-2026-112396
7.5
1%
Oct 19
Pillow: Heap use-after-free when encoding TIFF to an in-memory buffer
Affected: 11.3.0 before 13.0.0
CVE-2026-112391
7.5
1%
Oct 19
Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()
Affected: 5.1.0 before 13.0.0
CVE-2026-112390
7.5
1%
Oct 19
Pillow: Infinite loop in MIC n_frames when the embedded TIFF
Affected: 7.2.0 before 13.0.0
CVE-2026-59200
7.5
0%
Jul 14
Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()
Affected: 5.1.0 before 12.3.0
CVE-2026-59198
7.5
0%
Jul 14
Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
Affected: 5.2.0 before 12.3.0
CVE-2026-59205
7.5
0%
Jul 14
Pillow: Controlled heap out-of-bounds write in `ImageCmsTransform.apply()` via output mode mismatch
Affected: before 12.3.0
Page 1 of 3 · 111 total