Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow

Date Jul 20, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product PyPI ยท Pillow
CVE CVE-2026-59199
High-risk advisory CVE-2026-59199

Summary

Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate overflow

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 31% 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. EPSS probability: 0.4%; percentile: 31%.

Sources

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