Advisory record · GHSA-4rm8-3hmm-39fg

Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise

CVSS 6.5 MediumEPSS 0.0034 · 28th percentile

Published by the GitHub Advisory Database at 22 Oct 2026, 16:01 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-4rm8-3hmm-39fg · BIT-pillow-2026-96641 · CVE-2026-96641 · PYSEC-2026-4340
Weakness (CWE)
CWE-190
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 contain a native signed integer overflow, which is undefined behavior in C, in the font glyph width calculation. The source indicates that a font file with a long run of extreme glyph advance values can make the reported text width a large positive number when the true width is negative, which may cause denial of service or logic errors in applications that use these widths. The source says the upstream severity is still to be confirmed. 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.