Advisory record · GHSA-p8hx-v2p6-rp84

Pillow: Decompression-bomb protection bypass via multi-frame seek() in MPO and DCX (MpoImageFile.seek / DcxImageFile.seek)

CVSS 6.5 MediumEPSS 0.0034 · 28th percentile

Published by the GitHub Advisory Database at 22 Oct 2026, 15:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pillowPyPI<13.0.013.0.0
Identifiers
GHSA-p8hx-v2p6-rp84 · BIT-pillow-2026-96636 · CVE-2026-96636 · PYSEC-2026-4337
Weakness (CWE)
CWE-400 · CWE-409
Published
22 Oct 2026
Updated
29 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Pillow versions before 13.0.0 are affected. A crafted MPO or DCX file whose first frame is small but whose later frame declares very large dimensions can bypass Pillow's decompression-bomb check, because the check runs only on the first frame during open and not when seek() moves to later frames. An attacker who gets a victim application to open and iterate frames of such a file, for example by supplying an image that is auto-detected as MPO, can cause memory exhaustion and a denial of service. Upgrade to Pillow 13.0.0 or later, which is listed as the fixed version.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0034, the 28th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:07 UTC First seen by agentprime
  2. 31 Oct 2026, 14:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.