Bug 2563475

Summary: CVE-2026-112900 python-pillow: Pillow: Argument Injection in Ghostscript call, potentially leading into RCE [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, mhroncok, python-packagers-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["d091ef01-0474-4a9d-b2f2-713d714ab4fc"]}
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:13 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: 2555889    

Description aedmond 2026-10-29 16:26:16 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.6.0 until 13.0.0, Pillow is vulnerable to argument injection when invoking Ghostscript for EPS input. EpsImagePlugin.Ghostscript passes a caller-controlled input filename after -f without converting it to a safe absolute path, so a name beginning with a hyphen can be interpreted as a Ghostscript option. An attacker who controls the filename can inject Ghostscript arguments. Arbitrary command execution specifically requires a leading @ argument-file filename and control of the referenced text file containing additional Ghostscript arguments; the reported chain reproduces with the default -dSAFER invocation. This issue is fixed in version 13.0.0.

Comment 1 Miro HronĨok 2026-10-30 08:47:51 UTC
FTR upstream commit https://github.com/python-pillow/Pillow/commit/a2c363141da31a265dd536c945677db4b64f3ec9 applies cleanly on f45/f44 branch.

Comment 2 Fedora Update System 2026-10-30 10:04:33 UTC
FEDORA-2026-be73b9861d (python-pillow-12.3.0-7.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-be73b9861d

Comment 3 Fedora Update System 2026-10-30 10:04:34 UTC
FEDORA-2026-719fffc96a (python-pillow-12.3.0-7.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-719fffc96a

Comment 4 Fedora Update System 2026-10-31 03:03:08 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 5 Fedora Update System 2026-10-31 05:13:38 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 6 Fedora Update System 2026-10-31 12:13:15 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 7 Fedora Update System 2026-11-01 03:17:26 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 8 Fedora Update System 2026-11-03 01:12:13 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 9 Fedora Update System 2026-11-03 01:38:49 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.