CISA list

● PyPI package

pillow

Pillow has 119 security advisories. One CVE named in them is on CISA's list of exploited vulnerabilities. The newest release any of them names as the fix is 13.0.0.

As of , pillow has 119 security advisories. One CVE named in them is on CISA's list of exploited vulnerabilities. The newest release any of them names as the fix is 13.0.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 13.0.013.0.0119 advisoriesOne is on CISA's list

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-128066GHSA-wqgw-9xfh-qf2gPillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag dataModerate severityBefore 13.0.013.0.0
CVE-2026-128067GHSA-xcvg-w56q-r89mPillow: Heap buffer overflow saving TIFF with libtiff when tags override image sizeHigh severityBefore 13.0.013.0.0
GHSA-78g4-xqwv-q3g8Pillow: Bundled libopenjp2 2.5.4 in all wheels since 11.1.0 carries OSV-2025-219 heap-buffer-overflow write reachable from Image.open().load()High severityFrom 11.1.0 before 13.0.013.0.0
CVE-2026-96778GHSA-g7cr-3p24-7wf7Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills bufferHigh severityFrom 9.4.0 before 13.0.013.0.0
CVE-2026-96640GHSA-mrfp-p49p-3hf2Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustionHigh severityFrom 5.1.0 before 13.0.013.0.0
CVE-2026-96638GHSA-24rc-8hj2-v98cPillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute modeModerate severityFrom 9.1.0 before 13.0.013.0.0
CVE-2026-114501GHSA-654x-cwwv-5j9c, PYSEC-2026-4336Pillow: Arrow export leaks stale heap memory when PILLOW_ALIGNMENT > 1Moderate severityFrom 11.2.1 before 13.0.013.0.0
CVE-2026-112902GHSA-xvh5-g6gv-559v, PYSEC-2026-4363Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tagsHigh severityBefore 13.0.013.0.0
CVE-2026-112393GHSA-332p-7hrc-92wfPillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIOCritical severityFrom 2.0.0 before 13.0.013.0.0
CVE-2026-112406GHSA-f2g6-542v-9j58Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycleHigh severityFrom 5.1.0 before 13.0.013.0.0
CVE-2026-96644GHSA-9v9v-9qvf-h2hj, PYSEC-2026-4343Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)High severityBefore 13.0.013.0.0
CVE-2026-96643GHSA-g4qv-2jxx-769h, PYSEC-2026-4342Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic timeHigh severityFrom 11.0.0 before 13.0.013.0.0
CVE-2026-96642GHSA-3j72-p6qg-6xp7, PYSEC-2026-4341Pillow: TarIO negative size field causes infinite CPU-spin loopHigh severityBefore 13.0.013.0.0
CVE-2026-96641GHSA-4rm8-3hmm-39fg, PYSEC-2026-4340Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromiseModerate severityBefore 13.0.013.0.0
CVE-2026-96639GHSA-v9pv-5gc8-w2m6, PYSEC-2026-4339Pillow multi-frame loaders can reuse stale native image storage after mode transitionsCritical severityFrom 11.0.0 before 13.0.013.0.0
CVE-2026-96637GHSA-g842-9rc4-69pw, PYSEC-2026-4338Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoSHigh severityBefore 13.0.013.0.0
CVE-2026-96636GHSA-p8hx-v2p6-rp84, PYSEC-2026-4337Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)Moderate severityBefore 13.0.013.0.0
CVE-2026-112399GHSA-5xm2-6676-qcp9Pillow: APNG background disposal allocates full canvas before decompression bomb checkHigh severityFrom 8.1.0 before 13.0.013.0.0
CVE-2026-112892GHSA-gg2r-wvfm-q9rxPillow: MSP RLE decoder expands a tiny file into unbounded memoryHigh severityFrom 4.1.0 before 13.0.013.0.0
CVE-2026-112894GHSA-jg86-v3jv-hrpmPillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)High severityFrom 5.1.0 before 13.0.013.0.0
CVE-2026-112391GHSA-254f-3936-288hPillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()Moderate severityFrom 5.1.0 before 13.0.013.0.0
CVE-2026-112898GHSA-rfgq-q3w2-pmv2Pillow: Image.quantize() with empty palette leaks uninitialized stack memoryModerate severityFrom 9.1.0 before 13.0.013.0.0
CVE-2026-112401GHSA-74r2-7ff9-mjj2Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()Moderate severityFrom 5.4.0 before 13.0.013.0.0
CVE-2026-112390GHSA-22hg-r758-rrw9Pillow: Infinite loop in MIC n_frames when the embedded TIFFHigh severityFrom 7.2.0 before 13.0.013.0.0
CVE-2026-112891GHSA-fc9g-5qg7-mf45Pillow: Quadratic GIF comment copying during saveModerate severityFrom 9.2.0 before 13.0.013.0.0
CVE-2026-112893GHSA-j4m9-6w36-pw47Pillow: Invalid free in FreeType glyph rendering when a stroker is activeHigh severityFrom 10.0.0 before 13.0.013.0.0
CVE-2026-112900GHSA-w889-685w-c8fhPillow: Argument Injection in Ghostscript call, potentially leading into RCECritical severityFrom 2.6.0 before 13.0.013.0.0
CVE-2026-112400GHSA-65qm-jvmh-6pqgPillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoSHigh severityFrom 9.2.0 before 13.0.013.0.0
CVE-2026-112899GHSA-vx6w-vv9f-6gvgPillow: EPS load(scale) lets Ghostscript render past the decompression bomb limitModerate severityFrom 2.3.0 before 13.0.013.0.0
CVE-2026-112897GHSA-q45j-58j2-45rgPillow: TiffDecode returns uninitialized memory as pixels for short JPEG stripsHigh severityFrom 5.3.0 before 13.0.013.0.0
CVE-2026-112895GHSA-p4wg-p73j-c528Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)High severityFrom 5.1.0 before 13.0.013.0.0
CVE-2026-112395GHSA-462x-pgg6-55fpPillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)Moderate severityFrom 8.2.0 before 13.0.013.0.0
CVE-2026-112404GHSA-c6hw-5grf-ff96Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixelsHigh severityFrom 8.1.0 before 13.0.013.0.0
CVE-2026-112901GHSA-xgh8-jp6q-p5x8, PYSEC-2026-4335Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutesModerate severityBefore 13.0.013.0.0
CVE-2026-112896GHSA-pchr-8j38-3x4p, PYSEC-2026-4334Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds readHigh severityBefore 13.0.013.0.0
CVE-2026-112405GHSA-cp9v-662q-vvx9, PYSEC-2026-4333Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0High severityFrom 12.0.0 before 13.0.013.0.0
CVE-2026-112403GHSA-8g5g-8vmr-9782, PYSEC-2026-4332Pillow: Heap buffer overflow in ImagingJpegDecodeCritical severityBefore 13.0.013.0.0
CVE-2026-112402GHSA-7mwm-ghpf-9vrm, PYSEC-2026-4331Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transformHigh severityBefore 13.0.013.0.0
CVE-2026-112398GHSA-5x8w-8jj5-q52h, PYSEC-2026-4330Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code executionCritical severityBefore 13.0.013.0.0
CVE-2026-112397GHSA-58r4-6rv3-gfh8, PYSEC-2026-4329Pillow: Out-of-bounds access in _imagingmorph on a zero-width imageHigh severityBefore 13.0.013.0.0
CVE-2026-112396GHSA-4rr5-89j8-mwwm, PYSEC-2026-4328Pillow: Heap use-after-free when encoding TIFF to an in-memory bufferModerate severityFrom 11.3.0 before 13.0.013.0.0
CVE-2026-112392GHSA-27h8-gf7j-v5hc, PYSEC-2026-4326Pillow: NULL dereference in ImagingExpand via rank filters on zero-size imagesHigh severityBefore 13.0.013.0.0
CVE-2026-112394GHSA-4558-3h8r-v8xp, PYSEC-2026-4327Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer sizeModerate severityBefore 13.0.013.0.0
CVE-2026-59204GHSA-vjc4-5qp5-m44j, PYSEC-2026-3496Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of serviceHigh severityFrom 8.2.0 before 12.3.012.3.0
CVE-2026-59200GHSA-jjj6-mw9f-p565, PYSEC-2026-3495Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()High severityFrom 5.1.0 before 12.3.012.3.0
CVE-2026-59198GHSA-fj7v-r99m-22gq, PYSEC-2026-3494Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated imagesModerate severityFrom 5.2.0 before 12.3.012.3.0
CVE-2026-54058GHSA-62p4-gmf7-7g93, PYSEC-2026-3493Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)High severityBefore 12.3.012.3.0
CVE-2026-59197GHSA-xj96-63gp-2gmr, PYSEC-2026-3454Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`High severityBefore 12.3.012.3.0
CVE-2026-59205GHSA-9hw9-ch79-4vh6, PYSEC-2026-3453Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatchHigh severityBefore 12.3.012.3.0
CVE-2026-59203GHSA-pg7v-jwj7-p798, PYSEC-2026-3452Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of serviceModerate severityFrom 12.0.0 before 12.3.012.3.0
CVE-2026-59199GHSA-6r8x-57c9-28j4, PYSEC-2026-3451Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflowHigh severityBefore 12.3.012.3.0
CVE-2026-55798GHSA-4x4j-2g7c-83w6, PYSEC-2026-2257Pillow: WindowsViewer.get_command() OS command injection via unescaped shell pathModerate severityBefore 12.3.012.3.0
CVE-2026-55380GHSA-phj9-mv4w-65pm, PYSEC-2026-2256Pillow `GdImageFile._open()`: image dimensions accepted without `_decompression_bomb_check()`High severityBefore 12.3.012.3.0
CVE-2026-55379GHSA-45hq-cxwh-f6vc, PYSEC-2026-2255Pillow `BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()`, bomb protection bypass via font loadingHigh severityBefore 12.3.012.3.0
CVE-2026-54060GHSA-5x94-69rx-g8h2, PYSEC-2026-2254Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`High severityBefore 12.3.012.3.0
CVE-2026-54059GHSA-8v84-f9pq-wr9x, PYSEC-2026-2253Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()`, bomb protection bypass via PCF font loadingHigh severityBefore 12.3.012.3.0
CVE-2026-42311GHSA-pwv6-vv43-88gr, PYSEC-2026-2252Pillow has an OOB Write with Invalid PSD Tile Extents (Integer Overflow)High severityFrom 10.3.0 before 12.2.012.2.0
CVE-2026-42310GHSA-r73j-pqj5-w3x7, PYSEC-2026-2874Pillow has a PDF Parsing Trailer Infinite Loop (DoS)Moderate severityFrom 4.2.0 before 12.2.012.2.0
CVE-2026-42308GHSA-wjx4-4jcj-g98j, PYSEC-2026-165Pillow has an integer overflow when processing fontsModerate severityBefore 12.2.012.2.0
CVE-2026-42309GHSA-5xmw-vc9v-4wf2, PYSEC-2026-2251Pillow has a heap buffer overflow with nested list coordinatesModerate severityFrom 11.2.1 before 12.2.012.2.0
CVE-2026-40192GHSA-whj4-6x5x-4v2j, PYSEC-2026-2250FITS GZIP decompression bomb in PillowHigh severityFrom 10.3.0 before 12.2.012.2.0
CVE-2026-25990GHSA-cfh3-3jmp-rvhc, PYSEC-2026-2249Pillow affected by out-of-bounds write when loading PSD imagesHigh severityFrom 10.3.0 before 12.1.112.1.1
CVE-2025-48379GHSA-xg8h-j46f-w952, PYSEC-2025-61Pillow vulnerability can cause write buffer overflow on BCn encodingHigh severityFrom 11.2.0 before 11.3.011.3.0
CVE-2024-28219GHSA-44wm-f244-xhp3, PYSEC-2026-1793Pillow buffer overflow vulnerabilityHigh severityBefore 10.3.010.3.0
CVE-2023-50447GHSA-3f63-hfp8-52jq, PYSEC-2026-457Arbitrary Code Execution in PillowCritical severityBefore 10.2.010.2.0
CVE-2023-44271GHSA-8ghj-p4vj-mr35, PYSEC-2023-227Pillow Denial of Service vulnerabilityHigh severityBefore 10.0.010.0.0
PYSEC-2023-175Pillow versions before v10.0.1 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-5129 (previously CVE-2023-4863).Before 10.0.110.0.1
CVE-2023-4863CVE-2023-5129, GHSA-j7hp-h8jx-5ppr, PYSEC-2026-1794On CISA's list: CVE-2023-4863libwebp: OOB write in BuildHuffmanTableHigh severityBefore 10.0.110.0.1
CVE-2022-45198GHSA-m2vv-5vj5-2hm7, PYSEC-2022-42979Pillow vulnerable to Data Amplification attack.High severityBefore 9.2.09.2.0
CVE-2022-45199GHSA-q4mp-jvh2-76fj, PYSEC-2022-42980Pillow subject to DoS via SAMPLESPERPIXEL tagHigh severityFrom 9.2.0 before 9.3.09.3.0
CVE-2022-30595GHSA-hr8g-f6r6-mr22, PYSEC-2022-43145Buffer over-flow in PillowHigh severityFrom 9.1.0 before 9.1.19.1.1
GHSA-4fx9-vc88-q2xcInfinite loop in PillowLow severityBefore 9.0.09.0.0
CVE-2022-24303GHSA-9j59-75qj-795w, PYSEC-2022-168Path traversal in PillowHigh severityBefore 9.0.19.0.1
CVE-2022-22817GHSA-8vj2-vxx3-667w, PYSEC-2022-10Arbitrary expression injection in PillowCritical severityBefore 9.0.19.0.1
CVE-2022-22815GHSA-pw3c-h7wp-cvhx, PYSEC-2022-8Improper Initialization in PillowModerate severityBefore 9.0.09.0.0
CVE-2022-22816GHSA-xrcv-f9gm-v42c, PYSEC-2022-9Out-of-bounds Read in PillowModerate severityBefore 9.0.09.0.0
CVE-2021-23437GHSA-98vv-pw6r-q6q4, PYSEC-2021-317Uncontrolled Resource Consumption in pillowHigh severityBefore 8.3.28.3.2
CVE-2021-34552GHSA-7534-mm45-c74v, PYSEC-2021-331Buffer Overflow in PillowCritical severityBefore 8.3.08.3.0
CVE-2021-25287GHSA-77gc-v2xv-rvvh, PYSEC-2021-137Out-of-bounds Read in PillowHigh severityBefore 8.2.08.2.0
CVE-2021-28676GHSA-7r7m-5h27-29hp, PYSEC-2021-92Potential infinite loop in PillowHigh severityBefore 8.2.08.2.0
CVE-2021-28678GHSA-hjfx-8p6c-g7gx, PYSEC-2021-94Insufficient Verification of Data Authenticity in PillowModerate severityBefore 8.2.08.2.0
CVE-2021-28677GHSA-q5hq-fp76-qmrc, PYSEC-2021-93Uncontrolled Resource Consumption in PillowHigh severityBefore 8.2.08.2.0
CVE-2021-25288GHSA-rwv7-3v45-hg29, PYSEC-2021-138Pillow Out-of-bounds Read vulnerabilityHigh severityBefore 8.2.08.2.0
CVE-2021-28675GHSA-g6rj-rv7j-xwp4, PYSEC-2021-139Pillow denial of serviceHigh severityBefore 8.2.08.2.0
CVE-2021-25289GHSA-57h3-9rgr-c24m, PYSEC-2021-35Out of bounds write in PillowCritical severityBefore 8.1.18.1.1
CVE-2021-25290GHSA-8xjq-8fcg-g5hw, PYSEC-2021-36Out-of-bounds Write in PillowHigh severityBefore 8.1.18.1.1
CVE-2021-25292GHSA-9hx2-hgq2-2g4f, PYSEC-2021-38Regular Expression Denial of Service (ReDoS) in PillowModerate severityBefore 8.1.18.1.1
CVE-2021-25291GHSA-mvg9-xffr-p774, PYSEC-2021-37Out of bounds read in PillowHigh severityBefore 8.2.08.2.0
CVE-2021-25293GHSA-p43w-g3c5-g5mq, PYSEC-2021-39Out of bounds read in PillowHigh severityBefore 8.1.18.1.1
CVE-2021-27922GHSA-3wvg-mj6g-m9cv, PYSEC-2021-41Pillow Uncontrolled Resource ConsumptionHigh severityBefore 8.1.28.1.2
CVE-2021-27923GHSA-95q3-8gr9-gm8w, PYSEC-2021-42Pillow Denial of Service by Uncontrolled Resource ConsumptionHigh severityBefore 8.1.28.1.2
CVE-2021-27921GHSA-f4w8-cv6p-x6r5, PYSEC-2021-40Pillow Denial of Service by Uncontrolled Resource ConsumptionHigh severityBefore 8.1.28.1.2
CVE-2020-35653GHSA-f5g8-5qq7-938w, PYSEC-2021-69Pillow Out-of-bounds ReadHigh severityBefore 8.1.08.1.0
CVE-2020-35655GHSA-hf64-x4gq-p99h, PYSEC-2021-71Pillow Out-of-bounds ReadModerate severityFrom 4.3.0 before 8.1.08.1.0
CVE-2020-35654GHSA-vqcj-wrf2-7v73, PYSEC-2021-70Pillow Out-of-bounds WriteHigh severityBefore 8.1.08.1.0
CVE-2020-10378GHSA-3xv8-3j54-hgrp, PYSEC-2020-77Out-of-bounds read in PillowHigh severityBefore 7.1.07.1.0
CVE-2020-11538GHSA-43fq-w8qq-v88h, PYSEC-2020-80Out-of-bounds read in PillowCritical severityBefore 7.1.07.1.0
CVE-2020-10379GHSA-8843-m7mw-mxqm, PYSEC-2020-78Buffer overflow in PillowHigh severityBefore 7.1.07.1.0
CVE-2020-10177GHSA-cqhg-xjhh-p8hf, PYSEC-2020-76Out-of-bounds reads in PillowHigh severityBefore 7.1.07.1.0
CVE-2020-10994GHSA-vj42-xq3r-hr3r, PYSEC-2020-79Out-of-bounds reads in PillowHigh severityBefore 7.1.07.1.0

The next 19 advisories

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0