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