calibre: Arbitrary Code Execution in Template Formatter via Book Metadata
cve-program · CVE-2026-53511
Publishedcalibre is an e-book manager. Prior to 9.10.0, a malicious EPUB, OPF, or PDF file can execute arbitrary Python code when its metadata is read by calibre, including through Add books or Edit books, by embedding a custom column definition with a python: template in calibre:user_metadata that is passed unsanitized to exec() in the template formatter. This issue is fixed in version 9.10.0.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-53511 · CVE overview and exploitation status
cve-program · CVE-2026-53511
Related changes
Linked by CVE identifierNo related changes are available here.