CVE-2018-5345 json
A stack-based buffer overflow within GNOME gcab through 0.7.4 can be exploited by malicious attackers to cause a crash or, potentially, exe…
published 2018-01-12 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-17124
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- gcab Debian 14, Debian 13, Debian 12 0.7-7
debian advisories DEBIAN-CVE-2018-5345
- gcab Ubuntu 16.04 LTS 0.7-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2018-5345
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gcab RHEL 7 0.7-4.el7_4
- libgcab1 RHEL 7 0.7-4.el7_4
red hat advisories RHSA-2018:0350
- gcab openSUSE Tumbleweed 1.4-2.9
opensuse advisories openSUSE-SU-2024:10776-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-5345 updated cvss 5.3
gcab: Extracting malformed .cab files causes stack smashing potentially leading to arbitrary code execution
-
Red Hat Enterprise Linux Client (v. 7) gcab 0.7-4.el7_4, libgcab1 0.7-4.el7_4 Red Hat Enterprise Linux Client Optional (v. 7) gcab 0.7-4.el7_4 Red Hat Enterprise Linux ComputeNode (v. 7) gcab 0.7-4.el7_4, libgcab1 0.7-4.el7_4 Red Hat Enterprise Linux ComputeNode Optional (v. 7) gcab 0.7-4.el7_4 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) gcab 0.7-4.el7_4, libgcab1 0.7-4.el7_4 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) gcab 0.7-4.el7_4fixed: vendor fix RHSA-2018:0350
+4 more productsfewer
Red Hat Enterprise Linux Server (v. 7) gcab 0.7-4.el7_4, libgcab1 0.7-4.el7_4 Red Hat Enterprise Linux Server Optional (v. 7) gcab 0.7-4.el7_4 Red Hat Enterprise Linux Workstation (v. 7) gcab 0.7-4.el7_4, libgcab1 0.7-4.el7_4 Red Hat Enterprise Linux Workstation Optional (v. 7) gcab 0.7-4.el7_4 -
Red Hat Enterprise Linux 8 libgcab1not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.19% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
access.redhat.com
/errata/RHSA-2018:0350
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3546-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2018/dsa-4095
vendor-advisory, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1527296
issue-tracking, third-party-advisory, vdb-entry
Sources
- CVE List CVE-2018-5345
- NVD CVE-2018-5345
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.