Arbitrary Code Injection Affecting calibre package, versions <9.12.0+ds+~0.10.6-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.15% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-CALIBRE-18674831
  • published12 Aug 2026
  • disclosed11 Aug 2026

Introduced: 11 Aug 2026

NewCVE-2026-73248  (opens in a new tab)
CWE-94  (opens in a new tab)
CWE-95  (opens in a new tab)

How to fix?

Upgrade Debian:unstable calibre to version 9.12.0+ds+~0.10.6-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream calibre package and not the calibre package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.