ZeroDay Brief
CVE-2026-112406

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
Vendor advisory More from this vendor

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.

CWE-835

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.

Mon, Nov 16, 2026

  1. AdvisoryUSN-9064-2: Pillow regressionUbuntu · 18:07 UTC

Mon, Oct 19, 2026

  1. 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

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”