# pillow (PyPI)

Python Imaging Library (fork)

- Latest: 13.0.0 (2026-10-16)
- Licence: MIT-CMU
- Downloads: 723938249 last month
- Advisories on the latest version: 0

- CVE-2026-128066 MODERATE: Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data Fixed in 13.0.0.
- CVE-2026-128067 HIGH: Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size Fixed in 13.0.0.
- CVE-2026-112902 :  Fixed in 13.0.0.
- CVE-2026-112398 CRITICAL: Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution Fixed in 13.0.0.
- CVE-2026-114501 MODERATE: Pillow: Arrow export leaks stale heap memory when PILLOW_ALIGNMENT > 1 Fixed in 13.0.0.
- CVE-2026-96638 MODERATE: Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode Fixed in 13.0.0.
- CVE-2026-96642 HIGH: Pillow: TarIO negative size field causes infinite CPU-spin loop Fixed in 13.0.0.
- CVE-2026-96641 MODERATE: Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise Fixed in 13.0.0.
- GHSA-78g4-xqwv-q3g8 HIGH: 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() Fixed in 13.0.0.
- CVE-2026-96644 HIGH: Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds) Fixed in 13.0.0.
- CVE-2026-96643 HIGH: Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time Fixed in 13.0.0.
- CVE-2026-96778 HIGH: Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer Fixed in 13.0.0.
- CVE-2026-96637 HIGH: Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS Fixed in 13.0.0.
- CVE-2026-96640 HIGH: Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion Fixed in 13.0.0.
- CVE-2026-96636 MODERATE: Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek) Fixed in 13.0.0.
- CVE-2026-96639 CRITICAL: Pillow multi-frame loaders can reuse stale native image storage after mode transitions Fixed in 13.0.0.
- CVE-2026-112390 HIGH: Pillow: Infinite loop in MIC n_frames when the embedded TIFF Fixed in 13.0.0.
- CVE-2026-112391 MODERATE: Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tree() Fixed in 13.0.0.
- CVE-2026-112392 HIGH: Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images Fixed in 13.0.0.
- CVE-2026-112393 CRITICAL: Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO Fixed in 13.0.0.
- CVE-2026-112394 MODERATE: Pillow: P;2L and P;4L decoders may read 1 to 3 bytes past the passed buffer size Fixed in 13.0.0.
- CVE-2026-112396 MODERATE: Pillow: Heap use-after-free when encoding TIFF to an in-memory buffer Fixed in 13.0.0.
- CVE-2026-112399 HIGH: Pillow: APNG background disposal allocates full canvas before decompression bomb check Fixed in 13.0.0.
- CVE-2026-112401 MODERATE: Pillow: Quadratic GIF comment concatenation allows DoS in Image.open() Fixed in 13.0.0.
- CVE-2026-112402 HIGH: Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform Fixed in 13.0.0.
- CVE-2026-112405 HIGH: Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0 Fixed in 13.0.0.
- CVE-2026-112406 HIGH: Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle Fixed in 13.0.0.
- CVE-2026-112891 MODERATE: Pillow: Quadratic GIF comment copying during save Fixed in 13.0.0.
- CVE-2026-112892 HIGH: Pillow: MSP RLE decoder expands a tiny file into unbounded memory Fixed in 13.0.0.
- CVE-2026-112893 HIGH: Pillow: Invalid free in FreeType glyph rendering when a stroker is active Fixed in 13.0.0.
- CVE-2026-112894 HIGH: Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id) Fixed in 13.0.0.
- CVE-2026-112898 MODERATE: Pillow: Image.quantize() with empty palette leaks uninitialized stack memory Fixed in 13.0.0.
- CVE-2026-112900 CRITICAL: Pillow: Argument Injection in Ghostscript call, potentially leading into RCE Fixed in 13.0.0.
- CVE-2026-112901 MODERATE: Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes Fixed in 13.0.0.
- CVE-2026-112902 HIGH:  Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags Fixed in 13.0.0.
- CVE-2026-114501 :  Fixed in 13.0.0.
- CVE-2026-96636 :  Fixed in 13.0.0.
- CVE-2026-96637 :  Fixed in 13.0.0.
- CVE-2026-96639 :  Fixed in 13.0.0.
- CVE-2026-96641 :  Fixed in 13.0.0.

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
