Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-59205: CWE-787: Out-of-bounds Write in python-pillow Pillow

0
High
VulnerabilityCVE-2026-59205cvecve-2026-59205cwe-787
Published: 07/14/2026 (07/14/2026, 15:48:39 UTC)
Source: CVE Database V5
Vendor/Project: python-pillow
Product: Pillow

Description

Pillow is a Python imaging library. Prior to 12.3.0, Pillow's ImageCms.ImageCmsTransform.apply(im, imOut) API can trigger controlled native heap corruption when the caller supplies an output image whose mode does not match the transform's declared output mode. This issue is fixed in version 12.3.0.

CVSS v3.1

Score 7.5high

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

Affected software

pillow
pkg:pypi/pillow
Affected versions
<12.3.0

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

AILast updated: 07/14/2026, 16:32:54 UTC

Technical Analysis

CVE-2026-59205 is an out-of-bounds write vulnerability (CWE-787) in the python-pillow Pillow library. Specifically, the ImageCms.ImageCmsTransform.apply(im, imOut) API can trigger controlled native heap corruption if the caller supplies an output image whose mode differs from the transform's declared output mode. This mismatch leads to memory corruption. The vulnerability affects all versions prior to 12.3.0 and is resolved in version 12.3.0.

Potential Impact

The vulnerability allows an attacker to cause controlled native heap corruption, which can lead to denial of service or potentially other impacts depending on the context of use. The CVSS v3.1 score is 7.5 (high severity) with network attack vector, low attack complexity, no privileges or user interaction required, and impacts availability but not confidentiality or integrity.

Mitigation Recommendations

A fix is available in python-pillow Pillow version 12.3.0. Users should upgrade to version 12.3.0 or later to remediate this vulnerability. No additional vendor advisory content is provided, so patch status is based on the version information given.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-02T21:05:02.924Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a56616e68715ace43d27033

Added to database: 07/14/2026, 16:18:54 UTC

Last enriched: 07/14/2026, 16:32:54 UTC

Last updated: 07/15/2026, 02:25:31 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses