{"schemaVersion":3,"id":"CVE-2018-7889","aliases":["MGASA-2018-0399","UBUNTU-CVE-2018-7889","DEBIAN-CVE-2018-7889"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-03-08T21:00:00.000Z","modified":"2024-09-17T00:51:35.683Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.04508,"percentile":0.9142,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.04508},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07879,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04508,"percentile":0.9142}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.07879,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04508,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04508,"percentile":0.9142}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_24BD50F532B55DAE","name":"Exploit Reference (bugs.launchpad.net)","source":"reference","url":"https://bugs.launchpad.net/calibre/+bug/1753870","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"calibre-ebook","product":"calibre","name":"calibre","label":"calibre","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.18.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.18.0","eol":null,"hubHref":"/vendor/calibre-ebook/calibre"},{"vendor":"debian","product":"calibre","name":"calibre","label":"calibre","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/calibre","purlType":"deb","versions":[{"text":"< 3.19.0+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.19.0+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"calibre","name":"calibre","label":"calibre","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/calibre","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"mageia","product":"calibre","name":"calibre","label":"calibre","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/calibre","purlType":"rpm","versions":[{"text":"< 3.27.1-2.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.27.1-2.mga6","eol":null,"hubHref":null},{"vendor":"mageia","product":"python-html5-parser","name":"python-html5-parser","label":"python-html5-parser","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/python-html5-parser","purlType":"rpm","versions":[{"text":"< 0.4.4-1.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4.4-1.1.mga6","eol":null,"hubHref":null},{"vendor":"mageia","product":"python-lxml","name":"python-lxml","label":"python-lxml","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/python-lxml","purlType":"rpm","versions":[{"text":"< 3.8.0-1.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.8.0-1.1.mga6","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugs.launchpad.net/calibre/+bug/1753870","label":"bugs.launchpad.net/calibre/+bug/1753870","hostname":"bugs.launchpad.net","tags":["X Refsource CONFIRM","Exploit","Third Party Advisory","REPORT"]},{"url":"https://github.com/kovidgoyal/calibre/commit/aeb5b036a0bf657951756688b3c72bd68b6e4a7d","label":"github.com/kovidgoyal/calibre/commit/aeb5b036a0bf657951756688b3c72bd68b6e4a7d","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","REPORT"]},{"url":"https://advisories.mageia.org/MGASA-2018-0399.html","label":"advisories.mageia.org/MGASA-2018-0399.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22814","label":"bugs.mageia.org/show_bug.cgi?id=22814","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/VUNMTXK3UTN636LOBG63UDSTVM4AF26T/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-7889","label":"ubuntu.com/security/CVE-2018-7889","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-7889","label":"www.cve.org/CVERecord?id=CVE-2018-7889","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-7889","label":"security-tracker.debian.org/tracker/CVE-2018-7889","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-03-08T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T00:51:35.683Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:17:29.643Z","stale":false,"partial":false}}