Bug 2563094

Summary: CVE-2026-112398 python-pillow: Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution [fedora-all]
Product: [Fedora] Fedora Reporter: aedmond
Component: python-pillowAssignee: Sandro Mani <manisandro>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rawhideCC: epel-packagers-sig, infra-sig, manisandro, python-packagers-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["f48c0a3a-9dfe-4bcd-9eb9-07e1474380b1"]}
Fixed In Version: python-pillow-12.3.0-7.fc45 python-pillow-12.3.0-7.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-03 01:12:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2555867    

Description aedmond 2026-10-28 18:50:27 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 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_UNKNOWN with four components, causing ImagingJpegDecode to write four-component scanlines into the two-byte tile buffer. An attacker can supply a crafted OLE2 FlashPix file to an application with the optional olefile dependency installed that opens or thumbnails untrusted input. This can corrupt heap memory and may allow arbitrary code execution. This issue is fixed in version 13.0.0.

Comment 1 Fedora Update System 2026-10-28 21:26:58 UTC
FEDORA-2026-6142c51af3 (python-pillow-12.3.0-6.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-6142c51af3

Comment 2 Fedora Update System 2026-10-28 21:26:59 UTC
FEDORA-2026-0e083ad36e (python-pillow-12.3.0-6.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0e083ad36e

Comment 3 Fedora Update System 2026-10-29 02:02:09 UTC
FEDORA-2026-0e083ad36e has been pushed to the Fedora 45 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-0e083ad36e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0e083ad36e

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

Comment 4 Fedora Update System 2026-10-29 02:48:19 UTC
FEDORA-2026-6142c51af3 has been pushed to the Fedora 44 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-6142c51af3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-6142c51af3

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

Comment 5 Fedora Update System 2026-10-31 03:03:06 UTC
FEDORA-2026-719fffc96a has been pushed to the Fedora 44 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-719fffc96a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-719fffc96a

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

Comment 6 Fedora Update System 2026-10-31 05:13:35 UTC
FEDORA-2026-be73b9861d has been pushed to the Fedora 45 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-be73b9861d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-be73b9861d

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

Comment 7 Fedora Update System 2026-11-03 01:12:07 UTC
FEDORA-2026-be73b9861d (python-pillow-12.3.0-7.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-11-03 01:38:47 UTC
FEDORA-2026-719fffc96a (python-pillow-12.3.0-7.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.