{"id":"CVE-2018-5345","aliases":["DEBIAN-CVE-2018-5345","DSA-4095-1","EUVD-2018-17124","GHSA-28gw-xjhw-6cm5","MGASA-2018-0111","RHSA-2018:0350","UBUNTU-CVE-2018-5345","USN-3546-1","openSUSE-SU-2024:10776-1"],"status":"published","title":"A stack-based buffer overflow within GNOME gcab through 0.7.4 can be exploited by malicious...","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.","severity":{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02185,"percentile":0.825,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2018-01-11T00:00:00Z","modified":"2026-10-23T18:03:07Z","fixes":[{"ecosystem":"Debian:12","package":"gcab","fixed_in":["0.7-7"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gcab","fixed_in":["0.7-7"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gcab","fixed_in":["0.7-7"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"gcab","fixed_in":["0.7-2+deb9u1"],"sources":["osv"]},{"ecosystem":"Mageia:5","package":"gcab","fixed_in":["0.4-6.1.mga5"],"sources":["osv"]},{"ecosystem":"Mageia:6","package":"gcab","fixed_in":["0.7-1.1.mga6"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"gcab","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"gcab-debuginfo","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"libgcab1","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::client","package":"libgcab1-devel","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"gcab","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"gcab-debuginfo","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"libgcab1","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"libgcab1-devel","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"gcab","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"gcab-debuginfo","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"libgcab1","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::server","package":"libgcab1-devel","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"gcab","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"gcab-debuginfo","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"libgcab1","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"libgcab1-devel","fixed_in":["0:0.7-4.el7_4"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"gcab","fixed_in":["0.7-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"gcab","fixed_in":["1.4-2.9"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-7"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-7"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-7"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-2+deb9u1"}]}],"versions":["0.7-2"]},{"source":"osv","ecosystem":"Mageia:5","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4-6.1.mga5"}]}]},{"source":"osv","ecosystem":"Mageia:6","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-1.1.mga6"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"gcab-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"libgcab1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::client","package":"libgcab1-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"gcab-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"libgcab1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::computenode","package":"libgcab1-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"gcab-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"libgcab1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::server","package":"libgcab1-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"gcab-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"libgcab1","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:7::workstation","package":"libgcab1-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.7-4.el7_4"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-1ubuntu0.1"}]}],"versions":["0.6-1","0.6-1ubuntu1","0.7-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7-1ubuntu0.1"}]}],"versions":["0.6-1","0.6-1ubuntu1","0.7-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"gcab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4-2.9"}]}]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"gnome","product":"gcab"},{"vendor":"redhat","product":"enterprise_linux_desktop"},{"vendor":"redhat","product":"enterprise_linux_server"},{"vendor":"redhat","product":"enterprise_linux_server_aus"},{"vendor":"redhat","product":"enterprise_linux_server_eus"},{"vendor":"redhat","product":"enterprise_linux_server_tus"},{"vendor":"redhat","product":"enterprise_linux_workstation"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:0350","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"https://usn.ubuntu.com/3546-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1527296","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","VDB Entry","report"]},{"url":"https://www.debian.org/security/2018/dsa-4095","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5345","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-28gw-xjhw-6cm5"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5345","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2018-0111.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=22459","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_0350.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-5345","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5345","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2018-5345","tags":["report"]},{"url":"https://blogs.gnome.org/hughsie/2018/01/23/gcab-and-cve-2018-5345/","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-3546-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2018-5345","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2018-5345","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.","status":"published","published":"2018-01-12T00:00:00Z","modified":"2024-08-05T05:33:43.858Z","updated_at":"2026-11-02T14:35:01.28843Z"}],"euvd":[{"id":"EUVD-2018-17124","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.","status":"published","published":"2018-01-12T00:00:00Z","modified":"2024-08-05T05:33:43Z","updated_at":"2026-11-03T02:40:11.187677Z"}],"ghsa":[{"id":"GHSA-28gw-xjhw-6cm5","title":"A stack-based buffer overflow within GNOME gcab through 0.7.4 can be exploited by malicious...","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.","status":"published","published":"2022-05-13T01:20:20Z","modified":"2023-02-01T05:06:09Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:50:19.146831Z"}],"nvd":[{"id":"CVE-2018-5345","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.","status":"published","published":"2018-01-12T00:29:00.2Z","modified":"2026-06-17T02:00:10.11Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:04:22.309028Z"}],"osv":[{"id":"CVE-2018-5345","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.","status":"published","published":"2018-01-12T00:29:00.2Z","modified":"2026-04-16T06:18:54.689758915Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.442568Z"},{"id":"DEBIAN-CVE-2018-5345","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.","status":"published","published":"2018-01-12T00:29:00.2Z","modified":"2026-10-23T18:03:07.38703905Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"RHSA-2018:0350","title":"Red Hat Security Advisory: gcab security update","status":"published","published":"2024-09-16T00:55:26Z","modified":"2026-06-26T10:36:29Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:53:04.822845Z"},{"id":"UBUNTU-CVE-2018-5345","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.","status":"published","published":"2018-01-11T00:00:00Z","modified":"2026-04-22T11:59:21.004054Z","cvss":[{"version":"3.0","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:18.33562Z"},{"id":"DSA-4095-1","title":"gcab - security update","status":"published","published":"2018-01-24T00:00:00Z","modified":"2026-03-09T01:22:21.052813Z","updated_at":"2026-11-02T15:46:16.523846Z"},{"id":"MGASA-2018-0111","title":"Updated gcab packages fix security vulnerability","description":"It was discovered that gcab is prone to a stack-based buffer overflow\nvulnerability when extracting .cab files. An attacker can take advantage\nof this flaw to cause a denial-of-service or, potentially the execution\nof arbitrary code with the privileges of the user running gcab, if a\nspecially crafted .cab file is processed (CVE-2018-5345).\n","status":"published","published":"2018-02-06T06:25:44Z","modified":"2026-04-16T06:22:47.371780505Z","updated_at":"2026-11-02T15:49:40.442238Z"},{"id":"openSUSE-SU-2024:10776-1","title":"gcab-1.4-2.9 on GA media","description":"These are all security issues fixed in the gcab-1.4-2.9 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:26:21.576471Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"USN-3546-1","title":"gcab vulnerability","description":"Richard Hughes discovered that gcab incorrectly handled certain malformed\ncabinet files. If a user or automated system were tricked into opening a\nspecially crafted cabinet file, a remote attacker could use this issue to\ncause gcab to crash, resulting in a denial of service, or possibly execute\narbitrary code.\n","status":"published","published":"2018-01-24T18:00:59Z","modified":"2026-04-22T09:42:54.890435Z","updated_at":"2026-11-02T16:58:13.496563Z"}]}}
