Bug 2501494 - CVE-2026-59197 python-pillow: Pillow: Native heap out-of-bounds write [fedora-all]
Summary: CVE-2026-59197 python-pillow: Pillow: Native heap out-of-bounds write [fedora...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pillow
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["83c3115a-0927-4064-b339-9...
Depends On:
Blocks: CVE-2026-59197
TreeView+ depends on / blocked
 
Reported: 2026-07-16 19:41 UTC by Praise Ogwuche
Modified: 2026-07-21 01:16 UTC (History)
4 users (show)

Fixed In Version: python-pillow-11.3.0-10.fc43
Clone Of:
Environment:
Last Closed: 2026-07-21 01:16:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Praise Ogwuche 2026-07-16 19:41:39 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-07-19 07:30:57 UTC
FEDORA-2026-fc2ded926e (python-pillow-11.3.0-10.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-fc2ded926e

Comment 2 Fedora Update System 2026-07-20 01:55:53 UTC
FEDORA-2026-fc2ded926e has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-fc2ded926e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-fc2ded926e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2026-07-21 01:16:13 UTC
FEDORA-2026-fc2ded926e (python-pillow-11.3.0-10.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


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