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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | calibre | No fix yet | — |
| Ubuntu 18.04 LTS | calibre | No fix yet | — |
| Ubuntu 16.04 LTS | calibre | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | calibre | 9.10.0-1.1 | openSUSE-SU-2026:11130-1 |
Advisories 1
- openSUSE-SU-2026:11130-1 calibre-9.10.0-1.1 on GA media SUSE / openSUSE Security Updates · Jun 29, 2026