Bug 2514485

Summary: CVE-2026-73248 calibre: calibre: Remote Code Execution via Python template restrictions bypass [fedora-all]
Product: [Fedora] Fedora Reporter: Ganesh <gnaik>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: adscvr, chkr, Kartz, kevin, zbyszek
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["fc526316-cf5b-40d4-9486-d62d9f83018d"]}
Fixed In Version: calibre-9.13.0-1.fc43 calibre-9.13.0-1.fc44 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-22 01:12:36 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: 2514427    

Description Ganesh 2026-08-12 05:44:19 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.

calibre is an e-book manager. Prior to 9.12.0, calibre processes attacker-controlled composite_template metadata from a malicious EPUB, OPF, PDF, or similar file through program: and a nested template() call whose formatter does not inherit allow_python_templates=False, allowing a nested python: template to reach compile_python_template and execute arbitrary Python code when the file is opened or imported. This issue is fixed in version 9.12.0.

Comment 1 Fedora Update System 2026-08-16 20:29:59 UTC
FEDORA-2026-9f2b45e4c1 (calibre-9.13.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-9f2b45e4c1

Comment 2 Fedora Update System 2026-08-16 20:30:10 UTC
FEDORA-2026-c10ed2f3b7 (calibre-9.13.0-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c10ed2f3b7

Comment 3 Fedora Update System 2026-08-17 01:31:02 UTC
FEDORA-2026-9f2b45e4c1 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-9f2b45e4c1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-9f2b45e4c1

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

Comment 4 Fedora Update System 2026-08-17 01:50:18 UTC
FEDORA-2026-c10ed2f3b7 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-c10ed2f3b7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c10ed2f3b7

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

Comment 5 Fedora Update System 2026-08-22 01:12:36 UTC
FEDORA-2026-c10ed2f3b7 (calibre-9.13.0-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-08-25 01:01:36 UTC
FEDORA-2026-9f2b45e4c1 (calibre-9.13.0-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.