// Security Advisory Triage

Pillow 13.0.0 patches decompression bomb bypass DoS

GitHub advisories — pip · published 2026-10-23 04:56 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDCVE-2026-96637 published 22 October 2026. Pillow versions before 13.0.0 allow attackers to bypass decompression bomb checks in SpiderImagePlugin.seek(), causing unbounded memory allocation and denial of service. Patched in 13.0.0.
WHY IT MATTERSServices that process user-uploaded images or fetch images from untrusted sources can be crashed through memory exhaustion. The bypass defeats Pillow's built-in protection against malicious compressed images.
WHAT TO DOUpgrade to Pillow 13.0.0. If you accept image uploads or process external images, verify your Pillow version with pip show pillow and update if below 13.0.0.
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-g842-9rc4-69pw
+summary: Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS
+severity: high
+published_at: 2026-10-22T15:57:17Z
+cve_id: CVE-2026-96637
+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 reasoningPillow is a standard image-processing dependency in many services. DoS via decompression bomb bypass affects availability.
signalsknown_exploitation_status_unknown_but_high_severity · pillow_is_common_dependency · decompression_bomb_dos_affects_image_processing_services · patched_version_available · new_advisory_published
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)