CVE-2018-5345
A stack-based buffer overflow within GNOME gcab through 0.7.4 can be exploited by malicious...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2018-5345- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-5345- Updated
- 2026-11-02
EUVDEUVD-2018-17124 No score
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.
- Record
EUVD-2018-17124- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-28gw-xjhw-6cm5
7.8
A stack-based buffer overflow within GNOME gcab through 0.7.4 can be exploited by malicious...
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.
- Record
GHSA-28gw-xjhw-6cm5- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2018-5345- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-5345
7.8
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.
- Record
DEBIAN-CVE-2018-5345- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVRHSA-2018:0350
5.3
Red Hat Security Advisory: gcab security update
- Record
RHSA-2018:0350- CVSS 3.0
- 5.3 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-5345
7.8
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.
- Record
UBUNTU-CVE-2018-5345- CVSS 3.0
- 7.8 High
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0111 No score
Updated gcab packages fix security vulnerability
It was discovered that gcab is prone to a stack-based buffer overflow vulnerability when extracting .cab files. An attacker can take advantage of this flaw to cause a denial-of-service or, potentially the execution of arbitrary code with the privileges of the user running gcab, if a specially crafted .cab file is processed (CVE-2018-5345).
- Record
MGASA-2018-0111- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10776-1 No score
gcab-1.4-2.9 on GA media
These are all security issues fixed in the gcab-1.4-2.9 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10776-1- Updated
- 2026-11-02
OSVUSN-3546-1 No score
gcab vulnerability
Richard Hughes discovered that gcab incorrectly handled certain malformed cabinet files. If a user or automated system were tricked into opening a specially crafted cabinet file, a remote attacker could use this issue to cause gcab to crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-3546-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gcabDebian:12 |
before 0.7-7 | 0.7-7 |
gcabDebian:13 |
before 0.7-7 | 0.7-7 |
gcabDebian:14 |
before 0.7-7 | 0.7-7 |
gcabDebian:9 |
before 0.7-2+deb9u1, plus listed versions 0.7-2 |
0.7-2+deb9u1 |
gcabMageia:5 |
before 0.4-6.1.mga5 | 0.4-6.1.mga5 |
gcabMageia:6 |
before 0.7-1.1.mga6 | 0.7-1.1.mga6 |
gcabRed Hat:enterprise_linux:7::client |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
gcab-debuginfoRed Hat:enterprise_linux:7::client |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
libgcab1Red Hat:enterprise_linux:7::client |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
libgcab1-develRed Hat:enterprise_linux:7::client |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gcabRed Hat:enterprise_linux:7::computenode |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
gcab-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
libgcab1Red Hat:enterprise_linux:7::computenode |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
libgcab1-develRed Hat:enterprise_linux:7::computenode |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
gcabRed Hat:enterprise_linux:7::server |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
gcab-debuginfoRed Hat:enterprise_linux:7::server |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
libgcab1Red Hat:enterprise_linux:7::server |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
libgcab1-develRed Hat:enterprise_linux:7::server |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
gcabRed Hat:enterprise_linux:7::workstation |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
gcab-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
libgcab1Red Hat:enterprise_linux:7::workstation |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
libgcab1-develRed Hat:enterprise_linux:7::workstation |
before 0:0.7-4.el7_4 | 0:0.7-4.el7_4 |
gcabUbuntu:16.04:LTS |
before 0.7-1ubuntu0.1, plus listed versions 0.6-10.6-1ubuntu10.7-1 |
0.7-1ubuntu0.1 |
gcabopenSUSE:Tumbleweed |
before 1.4-2.9 | 1.4-2.9 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-5345 is a high vulnerability (CVSS 7.8) in Gnome Gcab, published January 11, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.19%, the 82nd percentile. Fixed in gcab 0.7-7.
References
access.redhat.com/errata/RHSA-2018:0350
usn.ubuntu.com/3546-1
bugzilla.redhat.com/show_bug.cgi?id=1527296
debian.org/security/2018/dsa-4095
nvd.nist.gov/vuln/detail/CVE-2018-5345
github.com/advisories/GHSA-28gw-xjhw-6cm5
Show 11 moreShow less
security-tracker.debian.org/tracker/CVE-2018-5345
advisories.mageia.org/MGASA-2018-0111.html
bugs.mageia.org/show_bug.cgi?id=22459
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_0350.json
access.redhat.com/security/cve/CVE-2018-5345
cve.org/CVERecord?id=CVE-2018-5345
ubuntu.com/security/CVE-2018-5345
blogs.gnome.org/hughsie/2018/01/23/gcab-and-cve-2018-5345
ubuntu.com/security/notices/USN-3546-1
suse.com/security/cve/CVE-2018-5345