{"id":"UBUNTU-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-05-20T16:03:19.250050178Z","published":"2018-03-08T21:29:00Z","upstream":["CVE-2018-7889"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-7889"},{"type":"REPORT","url":"https://bugs.launchpad.net/calibre/+bug/1753870"},{"type":"REPORT","url":"https://github.com/kovidgoyal/calibre/commit/aeb5b036a0bf657951756688b3c72bd68b6e4a7d"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-7889"}],"affected":[{"package":{"name":"calibre","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/calibre?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.33.0+dfsg-1build1","2.38.0+dfsg-1","2.45.0+dfsg-1","2.45.0+dfsg-1build1","2.48.0+dfsg-1","2.48.0+dfsg-1build1","2.54.0+dfsg-1","2.55.0+dfsg-1","2.55.0+dfsg-1ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"calibre","binary_version":"2.55.0+dfsg-1ubuntu0.2"},{"binary_name":"calibre-bin","binary_version":"2.55.0+dfsg-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7889.json"}},{"package":{"name":"calibre","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/calibre?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.8.0+ds-3build1","8.13.0+ds+~0.10.5-3","8.14.0+ds+~0.10.5-1","8.15.0+ds+~0.10.5-1","8.16.0+ds+~0.10.5-2","8.16.2+ds+~0.10.5-1","8.16.2+ds+~0.10.5-2","8.16.2+ds+~0.10.5-3","9.2.1+ds+~0.10.5-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"calibre","binary_version":"9.2.1+ds+~0.10.5-2build1"},{"binary_name":"calibre-bin","binary_version":"9.2.1+ds+~0.10.5-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-7889.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}