Vulnerability

CVE-2026-96642

highCVSS 4.0 7.1Published 21 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads that header, consumes a full CPU core, and never returns. TarIO is reached only when an application directly uses PIL.TarIO.TarIO rather than the default Image.open() path. This issue is fixed in version 13.0.0.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Python pillow

Weakness type

References

  • github.com /python-pillow/Pillow/commit/19b695fdcc5eddc37374e2b1645fc4…
  • github.com /python-pillow/Pillow/pull/10012
  • github.com /python-pillow/Pillow/releases/tag/13.0.0
  • github.com /python-pillow/Pillow/security/advisories/GHSA-3j72-p6qg-6x…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning