Bug 2562431

Summary: CVE-2026-112393 python-pillow: Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO [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": ["5605bda2-dd4e-488c-990c-0cf685a16f5c"]}
Fixed In Version: python-pillow-12.3.0-7.fc45 python-pillow-12.3.0-7.fc44 python-pillow-11.3.0-14.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-03 01:12:01 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: 2555846    

Description aedmond 2026-10-27 21:06:48 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. From 2.0.0 until 13.0.0, Pillow has a heap buffer overflow and stale-heap disclosure in _tiffWriteProc when saving compressed TIFF data through libtiff to a target without a usable fileno(), such as BytesIO. The callback sizes its allocation from the prior buffer size instead of the current write position, allowing an attacker-controlled out-of-line TIFF tag or retained ICC profile to be copied beyond the allocation after libtiff seeks forward. This overflow can crash the process and may allow code execution. Independently, unwritten alignment gaps in compressed TIFF output larger than 64 KiB can disclose stale heap bytes without a crafted tag. File paths and targets with real file descriptors are unaffected. This issue is fixed in version 13.0.0.

Comment 1 Fedora Update System 2026-10-28 07:36:24 UTC
FEDORA-2026-14e12dd636 (python-pillow-12.3.0-5.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-14e12dd636

Comment 2 Fedora Update System 2026-10-28 07:36:26 UTC
FEDORA-2026-70bb33101d (python-pillow-12.3.0-5.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-70bb33101d

Comment 3 Fedora Update System 2026-10-29 02:02:07 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:17 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:03 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:33 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-10-31 12:13:10 UTC
FEDORA-2026-bae971fad8 (python-pillow-11.3.0-14.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-bae971fad8

Comment 8 Fedora Update System 2026-11-01 03:17:22 UTC
FEDORA-2026-bae971fad8 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-bae971fad8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-bae971fad8

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

Comment 9 Fedora Update System 2026-11-03 01:12:01 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 10 Fedora Update System 2026-11-03 01:38:44 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.

Comment 11 Fedora Update System 2026-11-12 03:15:33 UTC
FEDORA-2026-bae971fad8 (python-pillow-11.3.0-14.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.