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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| kovidgoyal | calibre | < 9.3.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | calibre | 9.3.0+ds+~0.10.5-1 | — |
| Debian 13 | calibre | 8.5.0+ds-1+deb13u2 | — |
| Debian 12 | calibre | 6.13.0+repack-2+deb12u6 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | calibre | No fix yet | — |
| Ubuntu 26.04 LTS | calibre | No fix yet | — |
| Ubuntu 25.10 | calibre | No fix yet | — |
| Ubuntu 24.04 LTS | calibre | No fix yet | — |
| Ubuntu 22.04 LTS | calibre | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | calibre | No fix yet | — |
| Ubuntu 18.04 LTS | calibre | No fix yet | — |
| Ubuntu 16.04 LTS | calibre | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | calibre | 9.7.0-1.1 | openSUSE-SU-2026:10587-1 |
Advisories 1
- openSUSE-SU-2026:10587-1 calibre-9.7.0-1.1 on GA media SUSE / openSUSE Security Updates · Apr 22, 2026