Allocation of Resources Without Limits or Throttling Affecting pillow package, versions [5.1.0,13.0.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.42% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PILLOW-21431018
  • published22 Oct 2026
  • disclosed21 Oct 2026
  • creditM. Fazri Nizar

Introduced: 21 Oct 2026

NewCVE-2026-96640  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Pillow to version 13.0.0 or higher.

Overview

Pillow is a PIL (Python Imaging Library) fork.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via linearize_page_tree in src/PIL/PdfParser.py when parsing a PDF file containing a cyclic or duplicate page tree reference. An attacker can supply a PDF with a looping page node structure, causing the parser to recurse or iterate indefinitely and crash the process.

CVSS Base Scores

version 4.0
version 3.1