CVE-2018-7889 Deserialization in n/a
Remote attackers can execute arbitrary code by tricking users into opening a crafted bookmark file in Calibre.
- 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-2018-7889?
CVE-2018-7889 is a high-severity unsafe deserialization vulnerability in n/a, published on 8 Mar 2018. 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
gui2/viewer/bookmarkmanager.py in Calibre 3.18 calls cPickle.load on imported bookmark data, which allows remote attackers to execute arbitrary code via a crafted .pickle file, as demonstrated by Python code that contains an os.system call.
Weakness: CWE-502
Which versions are affected by CVE-2018-7889?
It affects 1 product.
Products include Calibre-Ebook Calibre.
How do I fix CVE-2018-7889?
Upgrade to a fixed version.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2018-7889 being exploited?
There is no known exploitation of CVE-2018-7889 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2011-4124 Command injection in Calibre
- CVE-2011-4125 Privilege escalation in Calibre
- CVE-2026-26064 calibre: Path Traversal Vulnerability Enables Arbitrary File Write and Remote Code Execution
- CVE-2026-26065 calibre: Path Traversal can Lead to Arbitrary File Write and Potential Code Execution
- CVE-2026-25635 calibre has a Path Traversal Leading to Arbitrary File Write and Potential Code Execution
Sources
Also known as DEBIAN-CVE-2018-7889, GHSA-7hmv-6p8v-7rmw, MGASA-2018-0399, UBUNTU-CVE-2018-7889.