CVE-2026-53511

NameCVE-2026-53511
Descriptioncalibre 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
calibre (PTS)bullseye5.12.0+dfsg-1+deb11u2vulnerable
bullseye (security)5.12.0+dfsg-1+deb11u4vulnerable
bookworm6.13.0+repack-2+deb12u6vulnerable
trixie8.5.0+ds-1+deb13u2vulnerable
forky9.10.0+ds+~0.10.6-1fixed
sid9.11.0+ds+~0.10.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
calibresource(unstable)9.10.0+ds+~0.10.6-1

Notes

https://github.com/kovidgoyal/calibre/security/advisories/GHSA-2j4m-2q7x-2c47
Fixed by: https://github.com/kovidgoyal/calibre/commit/712f4e1ff5c1e798c335bef3bacc4efdee052e9c (v9.10.0)

Search for package or bug name: Reporting problems