Skip to content
OpenAdvisories
High · 8.5 CVE-2026-53511 EUVD-2026-42102

calibre: Arbitrary Code Execution in Template Formatter via Book Metadata

Published Jul 7, 2026 · Updated Aug 18, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
kovidgoyal calibre < 9.10.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 calibre 9.10.0+ds+~0.10.6-1 —
Debian 13 calibre No fix yet —
Debian 12 calibre 6.13.0+repack-2+deb12u10 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 calibre No fix yet —
Ubuntu 26.04 LTS calibre No fix yet —
Ubuntu 25.10 calibre No fix yet —
Ubuntu 24.04 LTS calibre No fix yet —
Ubuntu 22.04 LTS calibre No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS calibre No fix yet —
Ubuntu 18.04 LTS calibre No fix yet —
Ubuntu 16.04 LTS calibre No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed calibre 9.10.0-1.1 openSUSE-SU-2026:11130-1

Advisories 1

References