| Name | CVE-2026-53511 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| calibre (PTS) | bullseye | 5.12.0+dfsg-1+deb11u2 | fixed |
| bullseye (security) | 5.12.0+dfsg-1+deb11u5 | fixed | |
| bookworm | 6.13.0+repack-2+deb12u9 | vulnerable | |
| trixie | 8.5.0+ds-1+deb13u3 | vulnerable | |
| forky, sid | 9.11.0+ds+~0.10.6-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| calibre | source | bullseye | (not affected) | |||
| calibre | source | (unstable) | 9.10.0+ds+~0.10.6-1 |
[trixie] - calibre <no-dsa> (Minor issue)
[bullseye] - calibre <not-affected> (Vulnerable code introduced later)
https://github.com/kovidgoyal/calibre/security/advisories/GHSA-2j4m-2q7x-2c47
Fixed by: https://github.com/kovidgoyal/calibre/commit/712f4e1ff5c1e798c335bef3bacc4efdee052e9c (v9.10.0)