PI
Product
Pillow
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.
| CVE | CVSS | Published | Summary · affected versions |
|---|---|---|---|
| CVE-2026-96778 New | 8.8 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | Oct 19 | Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes Affected: before 13.0.0 |
| CVE-2026-112895 | 7.5 | 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 | 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 | 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 | 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 | Oct 19 | Pillow: Quadratic GIF comment copying during save Affected: 9.2.0 before 13.0.0 |
| CVE-2026-112406 | 7.5 | 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 | 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 | Oct 19 | Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform Affected: before 13.0.0 |
| CVE-2026-112397 | 7.5 | Oct 19 | Pillow: Out-of-bounds access in _imagingmorph on a zero-width image Affected: before 13.0.0 |
| CVE-2026-112392 | 7.5 | Oct 19 | Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images Affected: before 13.0.0 |
| CVE-2026-112401 | 7.5 | 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 | 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 | 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 | 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 | 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 | 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 | Jul 14 | Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode() Affected: 5.1.0 before 12.3.0 |
| CVE-2026-59198 | 7.5 | 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 | Jul 14 | Pillow: Controlled heap out-of-bounds write in `ImageCmsTransform.apply()` via output mode mismatch Affected: before 12.3.0 |
| CVE-2026-59203 | 7.5 | Jul 14 | Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of service Affected: 12.0.0 before 12.3.0 |
| CVE-2026-59199 | 7.5 | Jul 14 | Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow Affected: before 12.3.0 |
| CVE-2026-59204 | 7.5 | Jul 14 | Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service Affected: 8.2.0 before 12.3.0 |
| CVE-2026-55379 | 7.5 | Jul 6 | Pillow BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading Affected: before 12.3.0 |
| CVE-2026-55380 | 7.5 | Jul 6 | Pillow GdImageFile decompression bomb protection bypass Affected: before 12.3.0 |
| CVE-2026-54060 | 7.5 | Jul 6 | Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()` Affected: before 12.3.0 |
| CVE-2026-54059 | 7.5 | Jul 6 | Pillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading Affected: before 12.3.0 |
| CVE-2026-40192 | 7.5 | Apr 15 | Pillow is vulnerable to a FITS GZIP decompression bomb Affected: 10.3.0 before 12.2.0 |
| CVE-2026-25990 | 7.5 | Feb 11 | Pillow is a Python imaging library Affected: 10.3.0 before 12.1.1 |
| CVE-2023-44271 | 7.5 | Nov 3 | An issue was discovered in Pillow before 10.0.0 Affected: before 10.0.0 |
| CVE-2022-45199 | 7.5 | Nov 14 | Pillow before 9.3.0 allows denial of service via SAMPLESPERPIXEL Affected: before 9.3.0 |
| CVE-2022-45198 | 7.5 | Nov 14 | Pillow before 9.2.0 performs Improper Handling of Highly Compressed GIF Data (Data Amplification) Affected: before 9.2.0 |
| CVE-2021-23437 | 7.5 | Sep 3 | The package pillow 5.2.0 and before 8.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the getrgb function Affected: 5.2.0 before 8.3.2 |
| CVE-2021-28677 | 7.5 | Jun 2 | An issue was discovered in Pillow before 8.2.0 Affected: before 8.2.0 |
| CVE-2021-28676 | 7.5 | Jun 2 | An issue was discovered in Pillow before 8.2.0 Affected: before 8.2.0 |
| CVE-2021-25293 | 7.5 | Mar 19 | An issue was discovered in Pillow before 8.1.1 Affected: before 8.1.1 |
