Skip to main content
← All vulnerabilities
CVE-2026-53511

calibre: Arbitrary Code Execution in Template Formatter via Book Metadata

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.10.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • kovidgoyal calibre

    fixed in 9.10.0

References 3

GitHub · kovidgoyal/calibre