{"id":"CVE-2018-7889","details":"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.","modified":"2026-08-07T14:59:34.396183Z","published":"2018-03-08T21:29:00.207Z","references":[{"type":"FIX","url":"https://github.com/kovidgoyal/calibre/commit/aeb5b036a0bf657951756688b3c72bd68b6e4a7d"},{"type":"EVIDENCE","url":"https://bugs.launchpad.net/calibre/+bug/1753870"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kovidgoyal/calibre","events":[{"introduced":"a76a438f92f62fd007fdb1d23d086e989f300dea"},{"last_affected":"a76a438f92f62fd007fdb1d23d086e989f300dea"},{"fixed":"aeb5b036a0bf657951756688b3c72bd68b6e4a7d"}],"database_specific":{"cpe":"cpe:2.3:a:calibre-ebook:calibre:3.18.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.18.0"},{"last_affected":"3.18.0"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["3.18.0","v3.18.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-7889.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}