Advisory record · GHSA-5x8w-8jj5-q52h

Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution

CVSS 9.2 CriticalCriticalEPSS 0.0070 · 53rd percentile

Critical, because:

  • CVSS score 9.2: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 23 Oct 2026, 21:55 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-5x8w-8jj5-q52h · BIT-pillow-2026-112398 · CVE-2026-112398 · PYSEC-2026-4330
Weakness (CWE)
CWE-122 · CWE-787
Published
23 Oct 2026
Updated
28 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 contain a heap buffer overflow in the FlashPix (FPX) JPEG tile decoder. An attacker who supplies a crafted FPX file that is opened with Image.open(), with the optional olefile package installed, can execute arbitrary code in the process doing the image processing, and no user interaction is needed when a service processes uploads automatically. 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
9.2 Critical 4.0 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0070, the 53rd 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.