High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-7889
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:31 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-7889
Complete source record
{
"id": "cd22e958e2f89bc93e632a4836ca6380a6bcfd93b976fe8aa0f9fdc3547c62cd",
"url": "https://osv.dev/vulnerability/CVE-2018-7889",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-7889",
"summary": "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.",
"evidence": "osv:CVE-2018-7889",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-7889",
"aliases": [
"CVE-2018-7889"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/kovidgoyal/calibre",
"type": "GIT",
"events": [
{
"introduced": "a76a438f92f62fd007fdb1d23d086e989f300dea"
},
{
"last_affected": "a76a438f92f62fd007fdb1d23d086e989f300dea"
},
{
"fixed": "aeb5b036a0bf657951756688b3c72bd68b6e4a7d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:calibre-ebook:calibre:3.18.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.18.0"
},
{
"last_affected": "3.18.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "aeb5b036a0bf657951756688b3c72bd68b6e4a7d"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"3.18.0",
"v3.18.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7889.json"
}
}
],
"modified": "2026-10-20T10:50:30.769917334Z",
"provider": "osv",
"references": [
"https://github.com/kovidgoyal/calibre/commit/aeb5b036a0bf657951756688b3c72bd68b6e4a7d",
"https://bugs.launchpad.net/calibre/+bug/1753870"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-7889",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381787,
"published_at": "2018-03-08T21:29:00.207+00:00"
}