{"schemaVersion":3,"id":"CVE-2018-5345","aliases":["MGASA-2018-0111","RHSA-2018:0350","UBUNTU-CVE-2018-5345","USN-3546-1","DEBIAN-CVE-2018-5345","DSA-4095-1","openSUSE-SU-2024:10776-1"],"status":"published","duplicateOf":null,"title":null,"description":"A stack-based buffer overflow within GNOME gcab through 0.7.4 can be exploited by malicious attackers to cause a crash or, potentially, execute arbitrary code via a crafted .cab file.","dates":{"published":"2018-01-12T00:00:00.000Z","modified":"2024-08-05T05:33:43.858Z","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 · Red hat","score":5.3,"severity":"medium","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":4.6,"impact":5.7,"computed":true},{"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.02185,"percentile":0.82138,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02185},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03382,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02185,"percentile":0.82138}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03382,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02185,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02185,"percentile":0.82138}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"17.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"16.04 | 17.10","eol":{"isEol":true,"eolDate":"2021-04-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"16.04","label":"16.04 'Xenial Xerus' (LTS)","eolFrom":"2021-04-02T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"16.04.7"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"gcab","name":"gcab","label":"gcab","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/gcab","purlType":"deb","versions":[{"text":"< 0.7-7","noFixRecorded":false,"fixedIn":null},{"text":"< 0.7-2+deb9u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7-7 | < 0.7-2+deb9u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gcab","name":"gcab","label":"gcab","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gcab","purlType":"deb","versions":[{"text":"< 0.7-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"gnome","product":"gcab","name":"gcab","label":"gcab","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.7.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.7.4","eol":null,"hubHref":"/vendor/gnome/gcab"},{"vendor":"mageia","product":"gcab","name":"gcab","label":"gcab","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/gcab","purlType":"rpm","versions":[{"text":"< 0.4-6.1.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.4-6.1.mga5","eol":null,"hubHref":null},{"vendor":"mageia","product":"gcab","name":"gcab","label":"gcab","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/gcab","purlType":"rpm","versions":[{"text":"< 0.7-1.1.mga6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7-1.1.mga6","eol":null,"hubHref":null},{"vendor":"redhat","product":"enterprise_linux_desktop","name":"enterprise linux desktop","label":"enterprise_linux_desktop","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server","name":"enterprise linux server","label":"enterprise_linux_server","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_server_aus","name":"enterprise linux server aus","label":"enterprise_linux_server_aus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.4","noFixRecorded":false,"fixedIn":null},{"text":"7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.4 | 7.6","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_server_eus","name":"enterprise linux server eus","label":"enterprise_linux_server_eus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.4","noFixRecorded":false,"fixedIn":null},{"text":"7.5","noFixRecorded":false,"fixedIn":null},{"text":"7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.4 | 7.5 | 7.6","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_eus"},{"vendor":"redhat","product":"enterprise_linux_server_tus","name":"enterprise linux server tus","label":"enterprise_linux_server_tus","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.4","noFixRecorded":false,"fixedIn":null},{"text":"7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.4 | 7.6","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_server_tus"},{"vendor":"redhat","product":"enterprise_linux_workstation","name":"enterprise linux workstation","label":"enterprise_linux_workstation","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0","eol":null,"hubHref":"/vendor/redhat/enterprise_linux_workstation"},{"vendor":"opensuse","product":"gcab&distro=openSUSE Tumbleweed","name":"gcab","label":"gcab&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/gcab&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.4-2.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4-2.9","eol":null,"hubHref":null},{"vendor":"redhat","product":"gcab","name":"gcab","label":"gcab","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gcab","purlType":"rpm","versions":[{"text":"< 0:0.7-4.el7_4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.7-4.el7_4","eol":null,"hubHref":null},{"vendor":"redhat","product":"gcab-debuginfo","name":"gcab-debuginfo","label":"gcab-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gcab-debuginfo","purlType":"rpm","versions":[{"text":"< 0:0.7-4.el7_4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.7-4.el7_4","eol":null,"hubHref":null},{"vendor":"redhat","product":"libgcab1","name":"libgcab1","label":"libgcab1","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libgcab1","purlType":"rpm","versions":[{"text":"< 0:0.7-4.el7_4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.7-4.el7_4","eol":null,"hubHref":null},{"vendor":"redhat","product":"libgcab1-devel","name":"libgcab1-devel","label":"libgcab1-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/libgcab1-devel","purlType":"rpm","versions":[{"text":"< 0:0.7-4.el7_4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:0.7-4.el7_4","eol":null,"hubHref":null}],"affectedCount":19,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:0350","label":"access.redhat.com/errata/RHSA-2018:0350","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory","Advisory"]},{"url":"https://usn.ubuntu.com/3546-1/","label":"usn.ubuntu.com/3546-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1527296","label":"bugzilla.redhat.com/show_bug.cgi?id=1527296","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Issue Tracking","Third Party Advisory","VDB Entry","REPORT"]},{"url":"https://www.debian.org/security/2018/dsa-4095","label":"www.debian.org/security/2018/dsa-4095","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory","WEB"]},{"url":"https://advisories.mageia.org/MGASA-2018-0111.html","label":"advisories.mageia.org/MGASA-2018-0111.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22459","label":"bugs.mageia.org/show_bug.cgi?id=22459","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://access.redhat.com/security/updates/classification/#important","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_0350.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_0350.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-5345","label":"access.redhat.com/security/cve/CVE-2018-5345","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5345","label":"www.cve.org/CVERecord?id=CVE-2018-5345","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5345","label":"nvd.nist.gov/vuln/detail/CVE-2018-5345","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-5345","label":"ubuntu.com/security/CVE-2018-5345","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://blogs.gnome.org/hughsie/2018/01/23/gcab-and-cve-2018-5345/","label":"blogs.gnome.org/hughsie/2018/01/23/gcab-and-cve-2018-5345/","hostname":"blogs.gnome.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3546-1","label":"ubuntu.com/security/notices/USN-3546-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5345","label":"security-tracker.debian.org/tracker/CVE-2018-5345","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5345","label":"www.suse.com/security/cve/CVE-2018-5345","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-01-12T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T05:33:43.858Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:48:44.567Z","stale":false,"partial":false}}