# CVE-2026-53511: calibre: Arbitrary Code Execution in Template Formatter via Book Metadata

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-07T20:46:49.199Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- kovidgoyal calibre: < 9.10.0

## References

- <https://github.com/kovidgoyal/calibre/security/advisories/GHSA-2j4m-2q7x-2c47> (exploit)
- <https://github.com/kovidgoyal/calibre/commit/712f4e1ff5c1e798c335bef3bacc4efdee052e9c>
- <https://github.com/kovidgoyal/calibre/releases/tag/v9.10.0>
- <https://lists.debian.org/debian-lts-announce/2026/08/msg00034.html>

## Sources

- CVE List: [CVE-2026-53511](https://www.cve.org/CVERecord?id=CVE-2026-53511), CVE Terms of Use, modified 2026-08-18
- NVD: [CVE-2026-53511](https://nvd.nist.gov/vuln/detail/CVE-2026-53511), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-53511 · Whole record: https://cve.day/CVE-2026-53511.json · Rebuilt by cve.day 2026-11-25T22:59:27.312Z
