CVE-2026-25636

calibre has a Path Traversal Leading to Arbitrary File Corruption and Code Execution

State
Published
Severity
8.2 High
Published
Feb 6, 2026
Updated
Feb 11, 2026
Reserved
Feb 4, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:HGitHub_M

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73 External Control of File Name or Path
  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
calibrekovidgoyal
  • < 9.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.