PT-2026-58105

CVE-2026-59197

·

Published

2026-07-14

·

Updated

2026-08-31

Description by

CVSS 2.0
8.5
High
MetricsAV:N/AC:L/Au:N/C:N/I:P/A:C
Name of the Vulnerable Software and Affected Versions Pillow versions prior to 12.3.0
Description The public rank-filter API in the Pillow Python imaging library allows a native heap out-of-bounds write when a very large odd filter size is provided. This occurs because the ImageFilter.RankFilter.filter() function calls image.expand(size // 2, size // 2) before validating the rank-filter size, and the ImagingExpand() function calculates output dimensions using unchecked signed int arithmetic, which is a type of calculation that does not account for values exceeding the maximum limit of a signed integer.
Recommendations Update to version 12.3.0.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-XJ96-63GP-2GMR
ALSA-2026:48021
BIT-PILLOW-2026-59197
ECHO-5231-1622-6E83
OESA-2026-3137
OESA-2026-3138
OESA-2026-3185
OESA-2026-3186
OESA-2026-3189
OPENSUSE-SU-2026:21544-1
PYSEC-2026-3454
RHSA-2026:50223
RHSA-2026:50319
RHSA-2026:50336
RHSA-2026:52551
RHSA-2026:54417
RHSA-2026:54528
SUSE-SU-2026:23217-1
SUSE-SU-2026:23228-1
SUSE-SU-2026:3084-1
SUSE-SU-2026:3268-1
Found an issue in the description? Have something to add? Feel free to write us 👾