Skip to content

CVE-2026-25731 Calibre Affected by Arbitrary Code Execution via Server-Side Template Injection in Calibre HTML Export

HighCVSS 7.8 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

calibre is an e-book manager. Prior to 9.2.0, a Server-Side Template Injection (SSTI) vulnerability in Calibre's Templite templating engine allows arbitrary code execution when a user converts an ebook using a malicious custom template file via the --template-html or --template-html-index command-line options. This vulnerability is fixed in 9.2.0.

Upgrade path

9 packages: 4 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/calibre(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/calibre(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/calibre(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/calibre(Ubuntu 26.10) All versions No fix listed No fix yet
calibre-ebook calibre < 9.2.0 9.2.0 Fixed
debian/calibre(Debian 12) < 6.13.0+repack-2+deb12u6; = 6.13.0+repack-2; = 6.13.0+repack-2+deb12u1; = 6.13.0+repack-2+deb12u2 +3 more 6.13.0+repack-2+deb12u6 Fixed
debian/calibre(Debian 13) < 8.5.0+ds-1+deb13u2; = 8.5.0+ds-1; = 8.5.0+ds-1+deb13u1 8.5.0+ds-1+deb13u2 Fixed
debian/calibre(Debian 14) < 9.2.0+ds+~0.10.5-1; = 8.5.0+ds-1; = 8.6.0+ds-1; = 8.7.0+ds-1 +33 more 9.2.0+ds+~0.10.5-1 Fixed
kovidgoyal calibre = < 9.2.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
kovidgoyal calibre = < 9.2.0 No fix listed
debian/calibre(Debian:12) < 6.13.0+repack-2+deb12u6 6.13.0+repack-2+deb12u6
debian/calibre(Debian:12) = 6.13.0+repack-2 No fix listed
debian/calibre(Debian:12) = 6.13.0+repack-2+deb12u1 No fix listed
debian/calibre(Debian:12) = 6.13.0+repack-2+deb12u2 No fix listed
debian/calibre(Debian:12) = 6.13.0+repack-2+deb12u3 No fix listed
debian/calibre(Debian:12) = 6.13.0+repack-2+deb12u4 No fix listed
debian/calibre(Debian:12) = 6.13.0+repack-2+deb12u5 No fix listed
debian/calibre(Debian:13) < 8.5.0+ds-1+deb13u2 8.5.0+ds-1+deb13u2
debian/calibre(Debian:13) = 8.5.0+ds-1 No fix listed
debian/calibre(Debian:13) = 8.5.0+ds-1+deb13u1 No fix listed
debian/calibre(Debian:14) < 9.2.0+ds+~0.10.5-1 9.2.0+ds+~0.10.5-1
debian/calibre(Debian:14) = 8.10.0+ds-1 No fix listed
debian/calibre(Debian:14) = 8.10.0+ds-2 No fix listed
debian/calibre(Debian:14) = 8.10.0+ds-3 No fix listed
debian/calibre(Debian:14) = 8.11.0+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 8.11.1+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 8.11.1+ds+~0.10.5-2 No fix listed
debian/calibre(Debian:14) = 8.11.1+ds+~0.10.5-3 No fix listed
debian/calibre(Debian:14) = 8.12.0+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 8.13.0+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 8.13.0+ds+~0.10.5-2 No fix listed
debian/calibre(Debian:14) = 8.13.0+ds+~0.10.5-3 No fix listed
debian/calibre(Debian:14) = 8.14.0+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 8.14.0+ds+~0.10.5-1~bpo13+1 No fix listed
Show 28 more
ProductAffected versionsFixed in
debian/calibre(Debian:14) = 8.15.0+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 8.15.0+ds+~0.10.5-1~bpo13+1 No fix listed
debian/calibre(Debian:14) = 8.15.0+ds+~0.10.5-2 No fix listed
debian/calibre(Debian:14) = 8.16.0+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 8.16.0+ds+~0.10.5-2 No fix listed
debian/calibre(Debian:14) = 8.16.1+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 8.16.2+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 8.16.2+ds+~0.10.5-2 No fix listed
debian/calibre(Debian:14) = 8.16.2+ds+~0.10.5-3 No fix listed
debian/calibre(Debian:14) = 8.16.2+ds+~0.10.5-3~bpo13+1 No fix listed
debian/calibre(Debian:14) = 8.5.0+ds-1 No fix listed
debian/calibre(Debian:14) = 8.6.0+ds-1 No fix listed
debian/calibre(Debian:14) = 8.7.0+ds-1 No fix listed
debian/calibre(Debian:14) = 8.8.0+ds-1 No fix listed
debian/calibre(Debian:14) = 8.8.0+ds-2 No fix listed
debian/calibre(Debian:14) = 8.8.0+ds-2+gcc15 No fix listed
debian/calibre(Debian:14) = 8.8.0+ds-3 No fix listed
debian/calibre(Debian:14) = 8.9.0+ds-1 No fix listed
debian/calibre(Debian:14) = 8.9.0+ds-2 No fix listed
debian/calibre(Debian:14) = 8.9.0+ds-3 No fix listed
debian/calibre(Debian:14) = 8.9.0+ds-4 No fix listed
debian/calibre(Debian:14) = 9.0.0+ds+~0.10.5-1 No fix listed
debian/calibre(Debian:14) = 9.1.0+ds+~0.10.5-1 No fix listed
ubuntu/calibre(Ubuntu:22.04) All versions No fix listed
ubuntu/calibre(Ubuntu:24.04) All versions No fix listed
ubuntu/calibre(Ubuntu:26.04) All versions No fix listed
ubuntu/calibre(Ubuntu:26.10) All versions No fix listed
calibre-ebook calibre < 9.2.0 9.2.0

References