---
title: "Python Pillow vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/python/pillow
type: product
description: "Python Pillow has 113 published CVEs, 0 in CISA KEV and 52 with public exploits."
updated: 2026-11-05
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Python Pillow vulnerabilities

Vendor: [Python](https://radicalnotion.ai/vendor/python)

- **Published CVEs:** 113
- **In CISA KEV:** 0
- **With a public exploit:** 52
- **With a patch:** 113
- **Average CVSS:** 8.0
- **First CVE:** 2014-04-17
- **Latest CVE:** 2026-11-05
- **Platforms:** windows

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 15 |
| High | 75 |
| Medium | 23 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-125](https://radicalnotion.ai/cwe/cwe-125) | Out-of-bounds Read | 18 |
| [CWE-787](https://radicalnotion.ai/cwe/cwe-787) | Out-of-bounds Write | 9 |
| [CWE-400](https://radicalnotion.ai/cwe/cwe-400) | Uncontrolled Resource Consumption | 8 |
| [CWE-190](https://radicalnotion.ai/cwe/cwe-190) | Integer Overflow or Wraparound | 7 |
| [CWE-835](https://radicalnotion.ai/cwe/cwe-835) | Loop with Unreachable Exit Condition | 7 |
| [CWE-122](https://radicalnotion.ai/cwe/cwe-122) | Heap-based Buffer Overflow | 6 |
| [CWE-789](https://radicalnotion.ai/cwe/cwe-789) | Memory Allocation with Excessive Size Value | 6 |
| [CWE-119](https://radicalnotion.ai/cwe/cwe-119) | Improper Restriction of Operations within the Bounds of a Memory Buffer | 5 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2015 | 2 |
| 2016 | 6 |
| 2017 | 1 |
| 2018 | 0 |
| 2019 | 1 |
| 2020 | 10 |
| 2021 | 19 |
| 2022 | 7 |
| 2023 | 1 |
| 2024 | 2 |
| 2025 | 1 |
| 2026 | 59 |

## Affected versions (top 12 of 75)

| Version | Kind | CVEs |
| --- | --- | --- |
| \< 13.0.0 | range | 14 |
| \< 12.3.0 | range | 9 |
| \< 8.1.1 | range | 8 |
| \< 8.2.0 | range | 6 |
| \< 6.2.2 | range | 5 |
| 5.1.0 \<= v \< 13.0.0 | range | 5 |
| \< 7.1.0 | range | 4 |
| \<= 3.1.0 | range | 4 |
| \< 8.1.0 | range | 2 |
| \< 9.0.0 | range | 2 |
| \< 9.0.1 | range | 2 |
| \<= 2.3.0 | range | 2 |

## Fixed in (top 12 of 17)

| Version | CVEs |
| --- | --- |
| 13.0.0 | 40 |
| 12.3.0 | 13 |
| 8.1.1 | 8 |
| 8.2.0 | 6 |
| 12.2.0 | 5 |
| 6.2.2 | 5 |
| 7.1.0 | 4 |
| 8.1.0 | 3 |
| 9.0.0 | 2 |
| 9.0.1 | 2 |
| 10.0.0 | 1 |
| 10.3.0 | 1 |

## CVEs (first 30 of 113, most severe first)

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-112902 | Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags | high | 8.8 | No | Yes | Yes |
| CVE-2026-112899 | Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit | medium | 6.9 | No | Yes | Yes |
| CVE-2026-114501 | Pillow: Arrow export leaks stale heap memory when PILLOW\_ALIGNMENT \> 1 | medium | 6.3 | No | Yes | Yes |
| CVE-2026-96639 | Pillow multi-frame loaders can reuse stale native image storage after mode transitions | critical | 9.8 | No | No | Yes |
| CVE-2026-96636 | Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek) | medium | 6.5 | No | Yes | Yes |
| CVE-2026-96640 | Pillow PDF append accepts malformed shared page-tree DAG causing resource exhaustion | high | 8.2 | No | Yes | Yes |
| CVE-2026-96637 | Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS | high | 7.1 | No | No | Yes |
| CVE-2026-96778 | Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer | high | 7.7 | No | Yes | Yes |
| CVE-2026-96643 | Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time | high | 7.1 | No | No | Yes |
| CVE-2026-96644 | Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds) | high | 7.1 | No | Yes | Yes |
| CVE-2026-96641 | Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise | medium | 6.5 | No | Yes | Yes |
| CVE-2026-96642 | Pillow: TarIO negative size field causes infinite CPU-spin loop | high | 7.1 | No | Yes | Yes |
| CVE-2026-96638 | Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode | medium | 6.5 | No | No | Yes |
| CVE-2026-112901 | Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes | medium | 6.9 | No | Yes | Yes |
| CVE-2026-112900 | Pillow: Argument Injection in Ghostscript call, potentially leading into RCE | critical | 9.2 | No | Yes | Yes |
| CVE-2026-112898 | Pillow: Image.quantize() with empty palette leaks uninitialized stack memory | medium | 6.9 | No | Yes | Yes |
| CVE-2026-112897 | Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips | high | 8.7 | No | Yes | Yes |
| CVE-2026-112896 | Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read | high | 8.8 | No | Yes | Yes |
| CVE-2026-112895 | Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for CVE-2026-42310) | high | 8.7 | No | Yes | Yes |
| CVE-2026-112894 | Pillow: Quadratic-time DoS in PDF save\_all (PdfParser.next\_object\_id) | high | 8.7 | No | Yes | Yes |
| CVE-2026-112893 | Pillow: Invalid free in FreeType glyph rendering when a stroker is active | high | 8.2 | No | Yes | Yes |
| CVE-2026-112892 | Pillow: MSP RLE decoder expands a tiny file into unbounded memory | high | 8.7 | No | No | Yes |
| CVE-2026-112891 | Pillow: Quadratic GIF comment copying during save | medium | 6.9 | No | No | Yes |
| CVE-2026-112406 | Pillow: Infinite loop in PdfParser.rewrite\_pages on page tree Parent cycle | high | 8.7 | No | Yes | Yes |
| CVE-2026-112405 | Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0 | high | 8.7 | No | Yes | Yes |
| CVE-2026-112404 | Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels | high | 8.8 | No | Yes | Yes |
| CVE-2026-112403 | Pillow: Heap buffer overflow in ImagingJpegDecode | critical | 9.2 | No | Yes | Yes |
| CVE-2026-112402 | Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform | high | 8.7 | No | Yes | Yes |
| CVE-2026-112397 | Pillow: Out-of-bounds access in \_imagingmorph on a zero-width image | high | 8.7 | No | Yes | Yes |
| CVE-2026-112392 | Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images | high | 8.2 | No | Yes | Yes |

## Frequently asked questions

### How many CVEs does Python Pillow have?

Python Pillow has 113 published CVE records since 2014.

### How many Python Pillow CVEs are in CISA KEV?

None of Python Pillow's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Python Pillow vulnerabilities?

Yes — 52 of Python Pillow's CVEs have a known public exploit.

### Which versions of Python Pillow are affected?

92 distinct Python Pillow versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in Python Pillow CVEs?

Python Pillow's CVEs most often map to these CWE weakness types: CWE-125 (Out-of-bounds Read), CWE-787 (Out-of-bounds Write), CWE-400 (Uncontrolled Resource Consumption), CWE-190 (Integer Overflow or Wraparound).

### How many critical Python Pillow vulnerabilities are there?

Python Pillow has 15 critical and 75 high-severity CVEs.

### What is the average severity of Python Pillow CVEs?

The average CVSS base score across Python Pillow's scored CVEs is 8.0.

## Other products from this vendor

- [CPython](https://radicalnotion.ai/vendor/python/cpython) (208 CVEs)
- [Python](https://radicalnotion.ai/vendor/python/python) (150 CVEs)
- [urllib3](https://radicalnotion.ai/vendor/python/urllib3) (22 CVEs)
- [requests](https://radicalnotion.ai/vendor/python/requests) (7 CVEs)
- [setuptools](https://radicalnotion.ai/vendor/python/setuptools) (5 CVEs)
- [black](https://radicalnotion.ai/vendor/python/black) (3 CVEs)
- [keyring](https://radicalnotion.ai/vendor/python/keyring) (3 CVEs)
- [tarfile module](https://radicalnotion.ai/vendor/python/tarfile-module) (3 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/python/pillow). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
