Advisory record · GHSA-24rc-8hj2-v98c

Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / absolute mode

CVSS 6.5 MediumEPSS 0.0034 · 28th percentile

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

PackageEcosystemAffectedFixed in
pillowPyPI>=9.1.0, <13.0.013.0.0
Identifiers
GHSA-24rc-8hj2-v98c · BIT-pillow-2026-96638 · CVE-2026-96638
Weakness (CWE)
CWE-400 · CWE-770
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, the Python imaging library, is vulnerable in versions from 9.1.0 up to but not including 13.0.0. The BMP RLE decoder does not limit how much data its delta escape and absolute mode branches can add, so a very small crafted BMP file can make it allocate gigabytes of memory. An attacker only needs to supply a crafted BMP file for Pillow to open, and the result is a memory-exhaustion denial of service. The fix is to upgrade to Pillow 13.0.0 or later.

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.