Skip to content
Fencer Intel
high 7.8

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_4
    +4 more products
    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
    fixed: vendor fix RHSA-2018:0350
  • Red Hat Enterprise Linux 8 libgcab1
    not 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-09).

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

References

Sources

Fencer Intel 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.