Skip to content
CVE PROGRAM SOURCE RECORD8.5 High

CVE-2026-53511

calibre: Arbitrary Code Execution in Template Formatter via Book Metadata

Description

calibre 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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

kovidgoyal calibre

  • < 9.10.0affected

References