Vulnerability · Published Jul 7, 2026 · Assigned by GitHub_M
CVE-2026-53511calibre: Arbitrary Code Execution in Template Formatter via Book Metadata
High 8.5
In plain English
A high-severity code injection in calibre from kovidgoyal. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | calibre | 6.13.0+repack-2+deb12u10 | DEBIAN-CVE-2026-53511 |
| Debian:13 | calibre | no fix listed | DEBIAN-CVE-2026-53511 |
| Debian:14 | calibre | 9.10.0+ds+~0.10.6-1 | DEBIAN-CVE-2026-53511 |
| Ubuntu:22.04:LTS | calibre | no fix listed | UBUNTU-CVE-2026-53511 |
| Ubuntu:24.04:LTS | calibre | no fix listed | UBUNTU-CVE-2026-53511 |
| Ubuntu:25.10 | calibre | no fix listed | UBUNTU-CVE-2026-53511 |
| Ubuntu:26.04:LTS | calibre | no fix listed | UBUNTU-CVE-2026-53511 |
| Ubuntu:26.10 | calibre | no fix listed | UBUNTU-CVE-2026-53511 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| kovidgoyal | calibre | < 9.10.0 |
Weakness: CWE-94 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/kovidgoyal/calibre/security/advisories/GHSA-2j4m-2q7x-2c47 x_refsource_CONFIRM
- https://github.com/kovidgoyal/calibre/commit/712f4e1ff5c1e798c335bef3bacc4efdee052e9c x_refsource_MISC
- https://github.com/kovidgoyal/calibre/releases/tag/v9.10.0 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2026/08/msg00034.html