Bug 2500043 (CVE-2026-59197) - CVE-2026-59197 Pillow: Pillow: Native heap out-of-bounds write
Summary: CVE-2026-59197 Pillow: Pillow: Native heap out-of-bounds write
Keywords:
Status: NEW
Alias: CVE-2026-59197
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2501493 2501494
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-14 17:01 UTC by OSIDB Bzimport
Modified: 2026-07-18 08:28 UTC (History)
56 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-14 17:01:52 UTC
Pillow is a Python imaging library. Prior to 12.3.0, Pillow's public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size validation and ImagingExpand() computes output dimensions with unchecked signed int arithmetic. This issue is fixed in version 12.3.0.


Note You need to log in before you can comment on or make changes to this bug.