Is pillow 10.3 vulnerable?

PyPI · 1 release from 10.3.0 to 10.3.0 · latest pillow is 13.0.0 · checked 18 Nov 2026

Yes: 54 known advisories

Yes. pillow 10.3.0, the last 10.3 release, is affected by 54 known security advisories (4 critical, 34 high, 16 medium), including CVE-2026-112398, CVE-2026-112393, CVE-2026-112900. Upgrade to 13.0.0 or later to fix all of them.

Upgrade with:pip install 'pillow>=13.0.0'

Is your project on an affected pillow?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting pillow 10.3.0

  • MediumCVE-2026-128066GHSA-wqgw-9xfh-qf2g12 Nov 2026

    Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-128067GHSA-xcvg-w56q-r89m12 Nov 2026

    Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • CriticalCVE-2026-112398GHSA-5x8w-8jj5-q52h23 Oct 2026

    Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-96778GHSA-g7cr-3p24-7wf722 Oct 2026

    Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer

    Affected
    >=9.4.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-96644GHSA-9v9v-9qvf-h2hj22 Oct 2026

    Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-96642GHSA-3j72-p6qg-6xp722 Oct 2026

    Pillow: TarIO negative size field causes infinite CPU-spin loop

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-96641GHSA-4rm8-3hmm-39fg22 Oct 2026

    Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-96640GHSA-mrfp-p49p-3hf222 Oct 2026

    Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion

    Affected
    >=5.1.0 <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-96638GHSA-24rc-8hj2-v98c22 Oct 2026

    Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode

    Affected
    >=9.1.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-96637GHSA-g842-9rc4-69pw22 Oct 2026

    Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-96636GHSA-p8hx-v2p6-rp8422 Oct 2026

    Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112902GHSA-xvh5-g6gv-559v21 Oct 2026

    Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags

    Affected
    >=5.4.0 <13.0.0
    Fixed in
    13.0.0
  • CriticalCVE-2026-112393GHSA-332p-7hrc-92wf21 Oct 2026

    Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO

    Affected
    >=2.0.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112406GHSA-f2g6-542v-9j5821 Oct 2026

    Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle

    Affected
    >=5.1.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112399GHSA-5xm2-6676-qcp921 Oct 2026

    Pillow: APNG background disposal allocates full canvas before decompression bomb check

    Affected
    >=8.1.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112892GHSA-gg2r-wvfm-q9rx21 Oct 2026

    Pillow: MSP RLE decoder expands a tiny file into unbounded memory

    Affected
    >=4.1.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112894GHSA-jg86-v3jv-hrpm21 Oct 2026

    Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id)

    Affected
    >=5.1.0 <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-112391GHSA-254f-3936-288h21 Oct 2026

    Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree()

    Affected
    >=5.1.0 <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-112901GHSA-xgh8-jp6q-p5x821 Oct 2026

    Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-112898GHSA-rfgq-q3w2-pmv221 Oct 2026

    Pillow: Image.quantize() with empty palette leaks uninitialized stack memory

    Affected
    >=9.1.0 <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-112401GHSA-74r2-7ff9-mjj221 Oct 2026

    Pillow: Quadratic GIF comment concatenation allows DoS in Image.open()

    Affected
    >=5.4.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112390GHSA-22hg-r758-rrw921 Oct 2026

    Pillow: Infinite loop in MIC n_frames when the embedded TIFF

    Affected
    >=7.2.0 <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-112891GHSA-fc9g-5qg7-mf4521 Oct 2026

    Pillow: Quadratic GIF comment copying during save

    Affected
    >=9.2.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112392GHSA-27h8-gf7j-v5hc21 Oct 2026

    Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112893GHSA-j4m9-6w36-pw4721 Oct 2026

    Pillow: Invalid free in FreeType glyph rendering when a stroker is active

    Affected
    >=10.0.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112402GHSA-7mwm-ghpf-9vrm21 Oct 2026

    Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-112394GHSA-4558-3h8r-v8xp21 Oct 2026

    Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • CriticalCVE-2026-112900GHSA-w889-685w-c8fh21 Oct 2026

    Pillow: Argument Injection in Ghostscript call, potentially leading into RCE

    Affected
    >=2.6.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112397GHSA-58r4-6rv3-gfh820 Oct 2026

    Pillow: Out-of-bounds access in _imagingmorph on a zero-width image

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112400GHSA-65qm-jvmh-6pqg20 Oct 2026

    Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS

    Affected
    >=9.2.0 <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-112899GHSA-vx6w-vv9f-6gvg20 Oct 2026

    Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit

    Affected
    >=2.3.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112897GHSA-q45j-58j2-45rg20 Oct 2026

    Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips

    Affected
    >=5.3.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112896GHSA-pchr-8j38-3x4p20 Oct 2026

    Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112895GHSA-p4wg-p73j-c52820 Oct 2026

    Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310)

    Affected
    >=5.1.0 <13.0.0
    Fixed in
    13.0.0
  • MediumCVE-2026-112395GHSA-462x-pgg6-55fp20 Oct 2026

    Pillow tiled-TIFF decoder reads past tile buffer in copy4 (Unpack.c:1290)

    Affected
    >=8.2.0 <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-112404GHSA-c6hw-5grf-ff9620 Oct 2026

    Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels

    Affected
    >=8.1.0 <13.0.0
    Fixed in
    13.0.0
  • CriticalCVE-2026-112403GHSA-8g5g-8vmr-978220 Oct 2026

    Pillow: Heap buffer overflow in ImagingJpegDecode

    Affected
    <13.0.0
    Fixed in
    13.0.0
  • HighCVE-2026-59205GHSA-9hw9-ch79-4vh620 Jul 2026

    Pillow: Controlled heap out-of-bounds write in Pillow `ImageCmsTransform.apply()` via output mode mismatch

    Affected
    <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-59204GHSA-vjc4-5qp5-m44j20 Jul 2026

    Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service

    Affected
    >=8.2.0 <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-59200GHSA-jjj6-mw9f-p56520 Jul 2026

    Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()

    Affected
    >=5.1.0 <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-59199GHSA-6r8x-57c9-28j420 Jul 2026

    Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow

    Affected
    <12.3.0
    Fixed in
    12.3.0
  • MediumCVE-2026-59198GHSA-fj7v-r99m-22gq20 Jul 2026

    Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated images

    Affected
    >=5.2.0 <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-59197GHSA-xj96-63gp-2gmr20 Jul 2026

    Pillow: Heap out-of-bounds write in `ImageFilter.RankFilter` via integer overflow in `ImagingExpand`

    Affected
    <12.3.0
    Fixed in
    12.3.0
  • MediumCVE-2026-55798GHSA-4x4j-2g7c-83w620 Jul 2026

    Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path

    Affected
    <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-55380GHSA-phj9-mv4w-65pm20 Jul 2026

    Pillow `GdImageFile._open()`: image dimensions accepted without `_decompression_bomb_check()`

    Affected
    <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-55379GHSA-45hq-cxwh-f6vc20 Jul 2026

    Pillow `BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading

    Affected
    <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-54060GHSA-5x94-69rx-g8h220 Jul 2026

    Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`

    Affected
    <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-54059GHSA-8v84-f9pq-wr9x20 Jul 2026

    Pillow `PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading

    Affected
    <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-54058GHSA-62p4-gmf7-7g9320 Jul 2026

    Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)

    Affected
    <12.3.0
    Fixed in
    12.3.0
  • HighCVE-2026-42311GHSA-pwv6-vv43-88gr4 May 2026

    Pillow has an OOB Write with Invalid PSD Tile Extents (Integer Overflow)

    Affected
    >=10.3.0 <12.2.0
    Fixed in
    12.2.0
  • MediumCVE-2026-42310GHSA-r73j-pqj5-w3x74 May 2026

    Pillow has a PDF Parsing Trailer Infinite Loop (DoS)

    Affected
    >=4.2.0 <12.2.0
    Fixed in
    12.2.0
  • MediumCVE-2026-42308GHSA-wjx4-4jcj-g98j4 May 2026

    Pillow has an integer overflow when processing fonts

    Affected
    <12.2.0
    Fixed in
    12.2.0
  • HighCVE-2026-40192GHSA-whj4-6x5x-4v2j13 Apr 2026

    FITS GZIP decompression bomb in Pillow

    Affected
    >=10.3.0 <12.2.0
    Fixed in
    12.2.0
  • HighCVE-2026-25990GHSA-cfh3-3jmp-rvhc11 Feb 2026

    Pillow affected by out-of-bounds write when loading PSD images

    Affected
    >=10.3.0 <12.1.1
    Fixed in
    12.1.1

Which of your client projects are still on pillow 10.3?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact pillow version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other pillow versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.