CVE-2018-5345: Buffer Overflow

Published Dec 19, 2017
·
Updated

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.

Other sources

Versions of gcab <= 7.4 are vulnerable to a stack-based buffer overflow when extracting maliciously constructed .cab files. An attacker could potentially exploit this to execute arbitrary code.

Original bug: https://bugzilla.redhat.com/showbug.cgi?id=1527062

Red Hat

Affected Software

17 affected componentsFixes available
redhat/gcab<1.0
1.0
Fedoraproject Fedora
Gnome gcab<=0.7.4
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Debian Debian Linux=9.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.4
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=7.4
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=7.0
debian/gcab
1.4-31.5-11.6-11.6-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/gcab to a version that resolves this vulnerability.

    Fixed in 1.0
  2. Upgrade

    Upgrade debian/gcab to a version that resolves this vulnerability.

    Fixed in 1.4-3Fixed in 1.5-1Fixed in 1.6-1Fixed in 1.6-2
  3. Upgrade

    Upgrade gcab to a version that resolves this vulnerability.

    Fixed in 7.4

Event History

Jan 12, 2018
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·12:29 AM
DescriptionSeverityWeaknessAffected Software
Jan 19, 2018
Data Sourced
08:39 PM
SeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:08 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·08:17 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·08:18 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2018-5345?

CVE-2018-5345 is rated as a critical vulnerability due to its potential to allow arbitrary code execution through a crafted .cab file.

2

How do I fix CVE-2018-5345?

To mitigate CVE-2018-5345, update the GNOME gcab package to version 1.0 or above for Red Hat, or to 0.7-4ubuntu0.1 or later for Ubuntu.

3

What software is affected by CVE-2018-5345?

CVE-2018-5345 affects GNOME gcab versions up to and including 0.7.4.

4

What type of attack does CVE-2018-5345 enable?

CVE-2018-5345 enables a stack-based buffer overflow attack that could potentially crash the application or execute arbitrary code.

5

Is there a workaround for CVE-2018-5345?

Disabling the ability to process .cab files is a temporary workaround until the software can be updated to patch CVE-2018-5345.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203