CVE-2026-59199: CWE-190: Integer Overflow or Wraparound in python-pillow Pillow
An integer overflow or wraparound vulnerability exists in the python-pillow Pillow library prior to version 12.3.0. This flaw affects public image coordinate APIs such as Image.paste(), Image.crop(), and Image.alpha_composite() when given coordinates near the signed 32-bit integer limits, potentially causing a native heap out-of-bounds write. The issue is fixed in Pillow 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 python-pillow Pillow library. Specifically, prior to version 12.3.0, certain public image coordinate APIs (Image.paste(), Image.crop(), Image.alpha_composite()) can be triggered with coordinates near the signed 32-bit integer limits, leading to a native heap out-of-bounds write. This memory corruption flaw can cause application crashes or denial of service. The vulnerability is resolved in Pillow 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. There is no indication of confidentiality or integrity impact. The CVSS v3.1 score is 7.5 (high), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and an impact limited to availability.
Mitigation Recommendations
Upgrade to Pillow version 12.3.0 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated.
CVE-2026-59199: CWE-190: Integer Overflow or Wraparound in python-pillow Pillow
Description
An integer overflow or wraparound vulnerability exists in the python-pillow Pillow library prior to version 12.3.0. This flaw affects public image coordinate APIs such as Image.paste(), Image.crop(), and Image.alpha_composite() when given coordinates near the signed 32-bit integer limits, potentially causing a native heap out-of-bounds write. The issue is fixed in Pillow 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 python-pillow Pillow library. Specifically, prior to version 12.3.0, certain public image coordinate APIs (Image.paste(), Image.crop(), Image.alpha_composite()) can be triggered with coordinates near the signed 32-bit integer limits, leading to a native heap out-of-bounds write. This memory corruption flaw can cause application crashes or denial of service. The vulnerability is resolved in Pillow 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. There is no indication of confidentiality or integrity impact. The CVSS v3.1 score is 7.5 (high), reflecting network attack vector, low attack complexity, no privileges or user interaction required, and an impact limited to availability.
Mitigation Recommendations
Upgrade to Pillow version 12.3.0 or later, where this vulnerability is fixed. No other mitigation or 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/14/2026, 16:33:08 UTC
Last updated: 07/15/2026, 02:25:31 UTC
Views: 3
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.