An attacker can supply a cyclic PDF to an application that appends an image to that PDF.
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- 0.57%
- Published
- Oct 19, 2026
- In the news
- 2 stories
What to do
A serious security flaw in Python Pillow and Python-pillow Pillow that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Python-pillow Pillow
- >= 5.1.0, < 13.0.0
Description
Pillow is a Python imaging library. From 5.1.0 until 13.0.0, Pillow can enter an infinite loop while rewriting PDF pages. PdfParser.rewrite_pages() follows Parent relationships without detecting a cycle in the page tree. An attacker can supply a cyclic PDF to an application that appends an image to that PDF. This can hold the worker at full CPU and deny service. This issue is fixed in version 13.0.0.
Affected products
Get alerts for these →Timeline 23
Latest change: Nessus plugin 385831: Alibaba Cloud Linux 3 : 0380: python-pillow (ALINUX3-SA-2026:0380) (Nov 23, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Nov 24, 2026
Mon, Nov 16, 2026
- AdvisoryUSN-9064-2: Pillow regressionUbuntu · 18:07 UTC
Sat, Nov 14, 2026
Thu, Nov 12, 2026
- AdvisoryUSN-9064-1: Pillow vulnerabilitiesUbuntu · 15:55 UTC
- DetectionNessus plugin 379493: SUSE SLED15 / SLES15 Security Update : python-Pillow (SUSE-SU-2026:5194-1)Tenable
Wed, Nov 11, 2026
- DetectionNessus plugin 378749: RHEL 8 : python-pillow (RHSA-2026:98109)Tenable
- DetectionNessus plugin 379300: TencentOS Server 3: python-pillow (TSSA-2026:1434)Tenable
- DetectionNessus plugin 378738: RHEL 8 : python-pillow (RHSA-2026:98111)Tenable
- DetectionNessus plugin 378745: RHEL 8 : python-pillow (RHSA-2026:98120)Tenable
Fri, Nov 6, 2026
Thu, Nov 5, 2026
Wed, Nov 4, 2026
Sat, Oct 31, 2026
Fri, Oct 30, 2026
- DetectionNessus plugin 373973: RHEL 8 : python-pillow (RHSA-2026:92639)Tenable
- DetectionNessus plugin 374191: RockyLinux 8 : python-pillow (RLSA-2026:92639)Tenable
- DetectionNessus plugin 374295: RHEL 9 : Satellite 6.19 (RHSA-2026:92861)Tenable
- DetectionNessus plugin 374318: Oracle Linux 8 : python-pillow (ELSA-2026-92639)Tenable
Wed, Oct 28, 2026
- DetectionNessus plugin 367842: Linux Distros Unpatched Vulnerability : CVE-2026-112406Tenable
- DetectionTenable Container Security plugin 476587: SCA: security update for Pillow (GHSA-f2g6-542v-9j58)Tenable
- DetectionTenable Cloud Security plugin 476885: Chainguard: openstack-horizon-2025.2: security update to 25.5.2_git20260914-r12Tenable
Mon, Oct 19, 2026
- CVECVE-2026-112406 published (CVSS 7.5)CVE Program · 22:17 UTC
References 3
- github.com Patch /python-pillow/Pillow/commit/b3ebf20c694f2f12537a629c30229a1d5a53f777
- github.com ExploitMitigationPatchVendor Advisory /python-pillow/Pillow/security/advisories/GHSA-f2g6-542v-9j58
- github.com /python-pillow/Pillow/releases/tag/13.0.0