CVE-2025-64486calibre is vulnerable to arbitrary code execution when opening FB2 files
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | calibre | Under investigation | UBUNTU-CVE-2025-64486 | |
| Ubuntu 25.10 | calibre | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-64486 | |
| Ubuntu 24.04 | calibre | Under investigation | UBUNTU-CVE-2025-64486 | |
| Ubuntu 22.04 | calibre | Under investigation | UBUNTU-CVE-2025-64486 | |
| Ubuntu 20.04 | calibre | Fix pending | UBUNTU-CVE-2025-64486 | |
| Ubuntu 18.04 | calibre | Fix pending | UBUNTU-CVE-2025-64486 | |
| Ubuntu 16.04 | calibre | Fix pending | UBUNTU-CVE-2025-64486 | |
| Debian 14 | calibre | Fixed | 8.14.0+ds+~0.10.5-1 | DEBIAN-CVE-2025-64486 |
| Debian 13 | calibre | Fixed | 8.5.0+ds-1+deb13u1 | DEBIAN-CVE-2025-64486 |
| Debian 12 | calibre | Fixed | 6.13.0+repack-2+deb12u5 | DEBIAN-CVE-2025-64486 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- kovidgoyal calibre: affected: < 8.14.0
References
- https://github.com/kovidgoyal/calibre/security/advisories/GHSA-hpwq-c98h-xp8g
- https://github.com/kovidgoyal/calibre/commit/6f94bce214bf7d43c829804db3741afa5e83c0c5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.