Skip to main content
VulnerabilityPublished

CVE-2026-96642: Pillow · TarIO negative size field causes infinite CPU-spin loop

Affects pillowSource GCVE Database

0
Compare
Authoritative record:CVE-2026-96642· High 7.1

Not known to be exploited · CVSS 7.1 High : upgrade to 13.0.0 soon.

Data as of 29 Oct 2026, 14:41 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 13.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade pillow to 13.0.0.

Affected software

ProductAffectedFixed in
Bitnamipillowpkg:bitnami/pillowOther threatsAffected
  • <13.0.0
Fixed in
  • 13.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Pillow to version 13.0.0 or later, where this issue is fixed. Applications should avoid directly using PIL.TarIO.TarIO if possible. Since a patch is available, applying the official fix is the recommended mitigation.

Description

Pillow versions prior to 13.0.0 contain a vulnerability in the TarIO initializer where a negative octal member size causes an infinite CPU spin loop. This occurs because the code computes a backward seek that returns to the same 512-byte header repeatedly when the requested member name does not match, leading to high CPU consumption. This issue only affects applications that directly use PIL.TarIO.TarIO instead of the default Image.open() method. The vulnerability is fixed in Pillow version 13.0.0.

References

Community reviews

Loading reviews…