Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform

Date Oct 21, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product PyPI ยท Pillow
CVE CVE-2026-112402
High-risk advisory CVE-2026-112402

Summary

Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform

Why it matters

GitHub has published a reviewed security advisory for Pillow. Prioritize it with other application dependency updates, especially because EPSS places it in the 37% percentile.

Operator check

Check whether Pillow is present in application dependency manifests, lockfiles, or build images. Review the GitHub advisory and upgrade to a patched version where available. CVSS score: 8.7. EPSS probability: 0.4%; percentile: 37%.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.