CVE-2026-59199: CWE-190: Integer Overflow or Wraparound in python-pillow Pillow
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.
AI Analysis
Technical Summary
CVE-2026-59199 describes an integer overflow or wraparound vulnerability (CWE-190) combined with a heap out-of-bounds write (CWE-787) in the Pillow Python imaging library. Specifically, prior to version 12.3.0, the public image coordinate APIs such as Image.paste(), Image.crop(), and Image.alpha_composite() can be triggered with coordinates near the signed 32-bit integer limits, causing a native heap out-of-bounds write. This vulnerability can lead to application crashes or potential denial of service. The issue is fixed in Pillow version 12.3.0.
Potential Impact
The vulnerability can cause a native heap out-of-bounds write, which may lead to application crashes or denial of service conditions. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Upgrade to Pillow version 12.3.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated.
CVE-2026-59199: CWE-190: Integer Overflow or Wraparound in python-pillow Pillow
Description
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-59199 describes an integer overflow or wraparound vulnerability (CWE-190) combined with a heap out-of-bounds write (CWE-787) in the Pillow Python imaging library. Specifically, prior to version 12.3.0, the public image coordinate APIs such as Image.paste(), Image.crop(), and Image.alpha_composite() can be triggered with coordinates near the signed 32-bit integer limits, causing a native heap out-of-bounds write. This vulnerability can lead to application crashes or potential denial of service. The issue is fixed in Pillow version 12.3.0.
Potential Impact
The vulnerability can cause a native heap out-of-bounds write, which may lead to application crashes or denial of service conditions. There is no indication of confidentiality or integrity impact. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Upgrade to Pillow version 12.3.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-02T19:53:48.831Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a56616e68715ace43d27027
Added to database: 07/14/2026, 16:18:54 UTC
Last enriched: 07/21/2026, 18:49:55 UTC
Last updated: 08/25/2026, 22:52:12 UTC
Views: 55
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.