Allocation of Resources Without Limits or Throttling 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.29% (21st 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-21277780
  • published20 Oct 2026
  • disclosed19 Oct 2026
  • creditUnknown

Introduced: 19 Oct 2026

NewCVE-2026-112400  (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

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in GifImagePlugin._seek when processing a multi-frame GIF image. The decompression bomb check calls Image._decompression_bomb_check but, prior to the fix, assigns the oversized dimensions to self._size before the check raises an exception. This means a failed decompression bomb check still permanently updates the image size, allowing an attacker to bypass the decompression bomb protection and cause a crash via a GIF image whose frame dimensions exceed the configured pixel limit.

CVSS Base Scores

version 4.0
version 3.1