# CVE-2026-42310: pillow: Pillow is a Python imaging library

CVE-2026-42310 is fixed in 10 products on 1 platform, first by python3-pil 9.0.1-1ubuntu0.4, released May 8, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-42310
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0017
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 8, 2026

## Description

Pillow is a Python imaging library. From version 4.2.0 to before version 12.2.0, an attacker can supply a malicious PDF that causes the process to hang indefinitely, consuming 100% CPU and making the application unresponsive. This issue has been patched in version 12.2.0.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | pillow Debian 13.5 (trixie) | 11.1.0-5+deb13u3 | [DEBIAN-CVE-2026-42310](https://patchblox.com/security/data/fix/linux/debian-cve-2026-42310.md) | May 15, 2026 |
| Linux | pillow Debian 14 | 12.2.0-1 | [DEBIAN-CVE-2026-42310](https://patchblox.com/security/data/fix/linux/debian-cve-2026-42310.md) | May 15, 2026 |
| Linux | python-pillow-debuginfo amzn 2023 | 9.4.0-2.amzn2023.0.8 | [ALAS2023-2026-1712](https://patchblox.com/security/data/fix/linux/alas2023-2026-1712.md) | May 25, 2026 |
| Linux | python-pillow-debugsource amzn 2023 | 9.4.0-2.amzn2023.0.8 | [ALAS2023-2026-1712](https://patchblox.com/security/data/fix/linux/alas2023-2026-1712.md) | May 25, 2026 |
| Linux | python3-pil Ubuntu 22.04.1 LTS (jammy) | 9.0.1-1ubuntu0.4 | [python3-pil 9.0.1-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-pil-9.0.1-1ubuntu0.4.md) | May 8, 2026 |
| Linux | python3-pil Ubuntu 24.04.5 LTS (noble) | 10.2.0-1ubuntu1.2 | [python3-pil 10.2.0-1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-pil-10.2.0-1ubuntu1.2.md) | May 8, 2026 |
| Linux | python3-pil Ubuntu 25.10 (questing) | 11.3.0-1ubuntu1.3 | [python3-pil 11.3.0-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python3-pil-11.3.0-1ubuntu1.3.md) | May 8, 2026 |
| Linux | python3-pil Ubuntu 26.04.1 LTS (resolute) | 12.1.1-2ubuntu1.2 | [python3-pil 12.1.1-2ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-python3-pil-12.1.1-2ubuntu1.2.md) | May 8, 2026 |
| Linux | python3-pil.imagetk Ubuntu 22.04.1 LTS (jammy) | 9.0.1-1ubuntu0.4 | [python3-pil.imagetk 9.0.1-1ubuntu0.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-pil.imagetk-9.0.1-1ubuntu0.4.md) | May 8, 2026 |
| Linux | python3-pil.imagetk Ubuntu 24.04.5 LTS (noble) | 10.2.0-1ubuntu1.2 | [python3-pil.imagetk 10.2.0-1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-pil.imagetk-10.2.0-1ubuntu1.2.md) | May 8, 2026 |
| Linux | python3-pil.imagetk Ubuntu 25.10 (questing) | 11.3.0-1ubuntu1.3 | [python3-pil.imagetk 11.3.0-1ubuntu1.3](https://patchblox.com/security/data/fix/linux/ubuntu-questing-python3-pil.imagetk-11.3.0-1ubuntu1.3.md) | May 8, 2026 |
| Linux | python3-pil.imagetk Ubuntu 26.04.1 LTS (resolute) | 12.1.1-2ubuntu1.2 | [python3-pil.imagetk 12.1.1-2ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-python3-pil.imagetk-12.1.1-2ubuntu1.2.md) | May 8, 2026 |
| Linux | python3-pillow amzn 2023 | 9.4.0-2.amzn2023.0.8 | [ALAS2023-2026-1712](https://patchblox.com/security/data/fix/linux/alas2023-2026-1712.md) | May 25, 2026 |
| Linux | python3-pillow-debuginfo amzn 2023 | 9.4.0-2.amzn2023.0.8 | [ALAS2023-2026-1712](https://patchblox.com/security/data/fix/linux/alas2023-2026-1712.md) | May 25, 2026 |
| Linux | python3-pillow-devel amzn 2023 | 9.4.0-2.amzn2023.0.8 | [ALAS2023-2026-1712](https://patchblox.com/security/data/fix/linux/alas2023-2026-1712.md) | May 25, 2026 |
| Linux | python3-pillow-tk amzn 2023 | 9.4.0-2.amzn2023.0.8 | [ALAS2023-2026-1712](https://patchblox.com/security/data/fix/linux/alas2023-2026-1712.md) | May 25, 2026 |
| Linux | python3-pillow-tk-debuginfo amzn 2023 | 9.4.0-2.amzn2023.0.8 | [ALAS2023-2026-1712](https://patchblox.com/security/data/fix/linux/alas2023-2026-1712.md) | May 25, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
