RCE in Calibre-Ebook Calibre
CVE-2026-25636
calibre is an e-book manager. In 9.1.0 and earlier, a path traversal vulnerability in Calibre's EPUB conversion allows a malicious EPUB file to corrupt arbitrary existing files writable by the Calibre process. During conversion, Calibre resolves CipherReference URI from META-INF/encryption.xml to an absolute filesystem path and opens it in read-write mode, even when it points outside the conversion extraction directory. This vulnerability is fixed in 9.2.0.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 14.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Calibre-Ebook Calibre
- Kovidgoyal Calibre — versions < 9.2.0
Weakness classification (CWE)
References
- https://github.com/kovidgoyal/calibre/security/advisories/GHSA-8r26-m7j5-hm29 (Exploit, Third Party Advisory)
- https://github.com/kovidgoyal/calibre/commit/9484ea82c6ab226c18e6ca5aa000fa16de598726 (Patch)
- 0x5t.raptx.org/posts/calibre-epub-rce (Exploit, Third Party Advisory)