| Name | CVE-2026-26064 |
| Description | calibre is a cross-platform e-book manager for viewing, converting, editing, and cataloging e-books. Versions 9.2.1 and below contain a Path Traversal vulnerability that allows arbitrary file writes anywhere the user has write permissions. On Windows, this leads to Remote Code Execution by writing a payload to the Startup folder, which executes on next login. Function extract_pictures only checks startswith('Pictures'), and does not sanitize '..' sequences. calibre's own ZipFile.extractall() in utils/zipfile.py does sanitize '..' via _get_targetpath(), but extract_pictures() bypasses this by using manual zf.read() + open(). This issue has been fixed in version 9.3.0. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4554-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| calibre (PTS) | bullseye | 5.12.0+dfsg-1+deb11u2 | vulnerable |
| bullseye (security) | 5.12.0+dfsg-1+deb11u4 | fixed | |
| bookworm | 6.13.0+repack-2+deb12u5 | vulnerable | |
| trixie | 8.5.0+ds-1+deb13u1 | vulnerable | |
| forky | 9.8.0+ds+~0.10.5-1 | fixed | |
| sid | 9.8.0+ds+~0.10.6-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| calibre | source | bullseye | 5.12.0+dfsg-1+deb11u4 | DLA-4554-1 | ||
| calibre | source | (unstable) | 9.3.0+ds+~0.10.5-1 |
[trixie] - calibre <no-dsa> (Minor issue)
[bookworm] - calibre <no-dsa> (Minor issue)
https://github.com/kovidgoyal/calibre/security/advisories/GHSA-72ch-3hqc-pgmp
Fixed by: https://github.com/kovidgoyal/calibre/commit/e1b5f9b45a5e8fa96c136963ad9a1d35e6adac62 (v9.3.0)