// Security Advisory Triage
Pillow double-free in Image.transform, fixed in 13.0.0
GitHub advisories — pip · published 2026-10-22 17:16 UTC
WHAT CHANGEDCVE-2026-112402 published 21 October 2026. Pillow's ImagingScaleAffine function has a double-free memory corruption vulnerability triggered by calloc failure during Image.transform operations. First patched version is 13.0.0.
WHY IT MATTERSDouble-free vulnerabilities are exploitable for arbitrary code execution. Any service that processes user-supplied images through Pillow's transform method is exposed to memory corruption attacks.
WHAT TO DOUpgrade Pillow to 13.0.0 or later. Grep your requirements files and lock files for 'Pillow' or 'PIL' to identify affected services.
Model-reported confidence 95% (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-7mwm-ghpf-9vrm +summary: Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform +severity: high +published_at: 2026-10-21T20:03:56Z +cve_id: CVE-2026-112402 +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 verdict | MATERIAL at 0.92, needed 0.5 |
|---|---|
| triage reasoning | Pillow is a standard Python image library in many service dependency trees. Memory corruption via transform() is exploitable. |
| signals | known CVE with assigned ID · high severity rating · double-free memory corruption in image processing · Pillow is a common dependency in Python services · first patched version identified (13.0.0) · published advisory with actionable fix |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |