Path traversal in Calibre - CVE-2026-25635
Published: June 29, 2026
Calibre
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to path traversal in src/calibre/ebooks/chm/reader.py when processing a crafted CHM file during conversion. A remote attacker can trick the victim into converting a malicious CHM file to execute arbitrary code.
On Windows, arbitrary file write outside the extraction directory can be leveraged by placing a payload in the Startup folder, which executes on the next login. User interaction is required to convert the crafted CHM file via the GUI or the ebook-convert CLI.