CVE-2025-64486 calibre is vulnerable to arbitrary code execution when opening FB2 files
Attackers can achieve arbitrary code execution by tricking users into opening malicious FB2 files in calibre due to improper filename validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-64486?
CVE-2025-64486 is a critical path traversal vulnerability in kovidgoyal calibre, published on 7 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
calibre is an e-book manager. In versions 8.13.0 and prior, calibre does not validate filenames when handling binary assets in FB2 files, allowing an attacker to write arbitrary files on the filesystem when viewing or converting a malicious FictionBook file. This can be leveraged to achieve arbitrary code execution. This issue is fixed in version 8.14.0.
Weakness: CWE-73
Which versions are affected by CVE-2025-64486?
How do I fix CVE-2025-64486?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-64486 being exploited?
There is no known exploitation of CVE-2025-64486 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2025-64486, GHSA-hpwq-c98h-xp8g, UBUNTU-CVE-2025-64486.