Is pillow 10.4.0 vulnerable?
pillow 10.4.0, a Python package on PyPI. All 2 versions we track · PyPI page
Upgrade pillow from 10.4.0 to 13.0.0 or later; that fixes all of them.
Known vulnerabilities in pillow 10.4.0
-
Critical
CVE-2026-112393: Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO
GHSA-332p-7hrc-92wf · published 21 Oct 2026 · fixed in 13.0.0
-
Critical
CVE-2026-112398: Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution
GHSA-5x8w-8jj5-q52h · published 23 Oct 2026 · fixed in 13.0.0
-
Critical
CVE-2026-112403: Pillow: Heap buffer overflow in ImagingJpegDecode
GHSA-8g5g-8vmr-9782 · published 20 Oct 2026 · fixed in 13.0.0
-
Critical
CVE-2026-112900: Pillow: Argument Injection in Ghostscript call, potentially leading into RCE
GHSA-w889-685w-c8fh · published 21 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-112390: Pillow: Infinite loop in MIC n_frames when the embedded TIFF
GHSA-22hg-r758-rrw9 · published 21 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-112392: Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images
GHSA-27h8-gf7j-v5hc · published 21 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-96642: Pillow: TarIO negative size field causes infinite CPU-spin loop
GHSA-3j72-p6qg-6xp7 · published 22 Oct 2026 · fixed in 13.0.0
-
High
CVSS 7.5
CVE-2026-55379: Pillow `BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading
GHSA-45hq-cxwh-f6vc · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVE-2026-112397: Pillow: Out-of-bounds access in _imagingmorph on a zero-width image
GHSA-58r4-6rv3-gfh8 · published 20 Oct 2026 · fixed in 13.0.0
-
High
CVSS 7.5
CVE-2026-54060: Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`
GHSA-5x94-69rx-g8h2 · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVE-2026-112399: Pillow: APNG background disposal allocates full canvas before decompression bomb check
GHSA-5xm2-6676-qcp9 · published 21 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-54058: Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
GHSA-62p4-gmf7-7g93 · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVE-2026-112400: Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS
GHSA-65qm-jvmh-6pqg · published 20 Oct 2026 · fixed in 13.0.0
-
High
CVSS 7.5
CVE-2026-59199: Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow
GHSA-6r8x-57c9-28j4 · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVE-2026-112402: Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform
GHSA-7mwm-ghpf-9vrm · published 21 Oct 2026 · fixed in 13.0.0
-
High
CVSS 7.5
CVE-2026-54059: Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading
GHSA-8v84-f9pq-wr9x · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVSS 7.5
CVE-2026-59205: Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatch
GHSA-9hw9-ch79-4vh6 · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVE-2026-96644: Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
GHSA-9v9v-9qvf-h2hj · published 22 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-112404: Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels
GHSA-c6hw-5grf-ff96 · published 20 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-25990: Pillow affected by out-of-bounds write when loading PSD images
GHSA-cfh3-3jmp-rvhc · published 11 Feb 2026 · fixed in 12.1.1
-
High
CVE-2026-112406: Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle
GHSA-f2g6-542v-9j58 · published 21 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-96778: Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer
GHSA-g7cr-3p24-7wf7 · published 22 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-96637: Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS
GHSA-g842-9rc4-69pw · published 22 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-112892: Pillow: MSP RLE decoder expands a tiny file into unbounded memory
GHSA-gg2r-wvfm-q9rx · published 21 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-112893: Pillow: Invalid free in FreeType glyph rendering when a stroker is active
GHSA-j4m9-6w36-pw47 · published 21 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-112894: Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)
GHSA-jg86-v3jv-hrpm · published 21 Oct 2026 · fixed in 13.0.0
-
High
CVSS 7.5
CVE-2026-59200: Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()
GHSA-jjj6-mw9f-p565 · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVE-2026-96640: Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion
GHSA-mrfp-p49p-3hf2 · published 22 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-112895: Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)
GHSA-p4wg-p73j-c528 · published 20 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-112896: Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read
GHSA-pchr-8j38-3x4p · published 20 Oct 2026 · fixed in 13.0.0
-
High
CVSS 7.5
CVE-2026-55380: Pillow `GdImageFile._open()`: image dimensions accepted without `_decompression_bomb_check()`
GHSA-phj9-mv4w-65pm · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVE-2026-42311: Pillow has an OOB Write with Invalid PSD Tile Extents (Integer Overflow)
GHSA-pwv6-vv43-88gr · published 4 May 2026 · fixed in 12.2.0
-
High
CVE-2026-112897: Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips
GHSA-q45j-58j2-45rg · published 20 Oct 2026 · fixed in 13.0.0
-
High
CVE-2026-59204: Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
GHSA-vjc4-5qp5-m44j · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVSS 7.5
CVE-2026-40192: FITS GZIP decompression bomb in Pillow
GHSA-whj4-6x5x-4v2j · published 13 Apr 2026 · fixed in 12.2.0
-
High
CVE-2026-128067: Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size
GHSA-xcvg-w56q-r89m · published 12 Nov 2026 · fixed in 13.0.0
-
High
CVSS 8.2
CVE-2026-59197: Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`
GHSA-xj96-63gp-2gmr · published 20 Jul 2026 · fixed in 12.3.0
-
High
CVE-2026-112902: Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
GHSA-xvh5-g6gv-559v · published 21 Oct 2026 · fixed in 13.0.0
-
Medium
CVSS 6.5
CVE-2026-96638: Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode
GHSA-24rc-8hj2-v98c · published 22 Oct 2026 · fixed in 13.0.0
-
Medium
CVE-2026-112391: Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()
GHSA-254f-3936-288h · published 21 Oct 2026 · fixed in 13.0.0
-
Medium
CVE-2026-112394: Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size
GHSA-4558-3h8r-v8xp · published 21 Oct 2026 · fixed in 13.0.0
-
Medium
CVSS 6.5
CVE-2026-112395: Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)
GHSA-462x-pgg6-55fp · published 20 Oct 2026 · fixed in 13.0.0
-
Medium
CVSS 6.5
CVE-2026-96641: Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise
GHSA-4rm8-3hmm-39fg · published 22 Oct 2026 · fixed in 13.0.0
-
Medium
CVSS 4.5
CVE-2026-55798: Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path
GHSA-4x4j-2g7c-83w6 · published 20 Jul 2026 · fixed in 12.3.0
-
Medium
CVE-2026-112401: Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()
GHSA-74r2-7ff9-mjj2 · published 21 Oct 2026 · fixed in 13.0.0
-
Medium
CVE-2026-112891: Pillow: Quadratic GIF comment copying during save
GHSA-fc9g-5qg7-mf45 · published 21 Oct 2026 · fixed in 13.0.0
-
Medium
CVSS 6.5
CVE-2026-59198: Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images
GHSA-fj7v-r99m-22gq · published 20 Jul 2026 · fixed in 12.3.0
-
Medium
CVSS 6.5
CVE-2026-96636: Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)
GHSA-p8hx-v2p6-rp84 · published 22 Oct 2026 · fixed in 13.0.0
-
Medium
CVSS 5.5
CVE-2026-42310: Pillow has a PDF Parsing Trailer Infinite Loop (DoS)
GHSA-r73j-pqj5-w3x7 · published 4 May 2026 · fixed in 12.2.0
-
Medium
CVE-2026-112898: Pillow: Image.quantize() with empty palette leaks uninitialized stack memory
GHSA-rfgq-q3w2-pmv2 · published 21 Oct 2026 · fixed in 13.0.0
-
Medium
CVE-2026-112899: Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit
GHSA-vx6w-vv9f-6gvg · published 20 Oct 2026 · fixed in 13.0.0
-
Medium
CVSS 5.5
CVE-2026-42308: Pillow has an integer overflow when processing fonts
GHSA-wjx4-4jcj-g98j · published 4 May 2026 · fixed in 12.2.0
-
Medium
CVE-2026-128066: Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data
GHSA-wqgw-9xfh-qf2g · published 12 Nov 2026 · fixed in 13.0.0
-
Medium
CVE-2026-112901: Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes
GHSA-xgh8-jp6q-p5x8 · published 21 Oct 2026 · fixed in 13.0.0
How to fix it
With requirements.txt:
# in requirements.txt: change the line to pillow==13.0.0
pip install -r requirements.txt
- If it is an indirect dependency, upgrade the package that depends on it, or add a minimum version constraint for it (e.g. in constraints.txt, or as a dependency in pyproject.toml).
- Check the package's changelog for breaking changes (especially across major versions), update the lockfile with the package manager (never by hand), and run your tests.
Other versions of pillow
Newest version we track without known advisories: 13.0.0.
| Version | Known vulnerabilities | Highest severity |
|---|---|---|
| 13.0.0 | 0 | None |
| 10.4.0 (this page) | 54 | Critical |
Licence
pillow 10.4.0 declares HPND .
Check your whole project
pillow is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.
Get emailed about new advisories for pillow (free, no account)
About this data
Vulnerability data: OSV.dev, last checked 22 November 2026. Licence: deps.dev. AIssue checks the versions on this page every day. Severity comes from the advisory's own rating when it has one, else from its CVSS score.