// Security Advisory Triage

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

GitHub advisories — pip · published 2026-10-23 04:55 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published CVE-2026-96642 on 2026-10-22, a high-severity vulnerability in Pillow's TarIO handler. A negative size field in a crafted TAR archive causes an infinite CPU-spin loop. First patched version is 13.0.0.
WHY IT MATTERSAny service that processes user-supplied TAR archives through Pillow can be forced into an infinite loop, consuming CPU until the process is killed. This is a denial-of-service vector that requires no authentication if the service accepts untrusted image archives.
WHAT TO DOUpgrade Pillow to 13.0.0 or later. If you process TAR archives through Pillow in a user-facing service, prioritize this update for this cycle.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-3j72-p6qg-6xp7
+summary: Pillow: TarIO negative size field causes infinite CPU-spin loop
+severity: high
+published_at: 2026-10-22T16:01:46Z
+cve_id: CVE-2026-96642
+vulnerabilities[].package.name: Pillow
+vulnerabilities[].first_patched_version: 13.0.0
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningHigh-severity DoS in widely-used Python image library with patch available.
signalsknown CVE with assigned ID · high severity rating · first patched version specified (13.0.0) · Pillow is a common image processing dependency in Python services · DoS vector (infinite CPU-spin) affects availability
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)