Improper Handling of Highly Compressed Data (Data Amplification) Affecting pillow package, versions [,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.35% (29th 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 IDSNYK-PYTHON-PILLOW-21431022
  • published22 Oct 2026
  • disclosed21 Oct 2026
  • creditmohammad adnan

Introduced: 21 Oct 2026

NewCVE-2026-96636  (opens in a new tab)
CWE-409  (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 Improper Handling of Highly Compressed Data (Data Amplification) via missing decompression bomb checks in the seek methods of DcxImagePlugin, MicImagePlugin, and MpoImagePlugin. When a multi-frame image file (DCX, MIC, or MPO format) is opened and frames are seeked, the per-frame image dimensions are never validated against the decompression bomb threshold, allowing an attacker to supply an image whose frames expand to an enormous size in memory and crash the process.

CVSS Base Scores

version 4.0
version 3.1