๐Ÿ” CVE Alert

CVE-2026-59199

HIGH 7.5

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

CVSS Score
7.5
EPSS Score
0.4%
EPSS Percentile
31th

Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). This issue is fixed in version 12.3.0.

CWE CWE-190 CWE-787
Vendor python-pillow
Product pillow
Published Jul 14, 2026
Last Updated Jul 15, 2026
Stay Ahead of the Next One

Get instant alerts for python-pillow pillow

Be the first to know when new high vulnerabilities affecting python-pillow pillow are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

python-pillow / Pillow
< 12.3.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/python-pillow/Pillow/security/advisories/GHSA-6r8x-57c9-28j4 github.com: https://github.com/python-pillow/Pillow/pull/9703 github.com: https://github.com/python-pillow/Pillow/commit/ceefc348eb3c3844c7f9796ef2cc3a7dd5fbba7b github.com: https://github.com/python-pillow/Pillow/releases/tag/12.3.0