CVE-2018-18584 Memory corruption in n/a

Medium 6.5 Published Updated

An out-of-bounds write in libmspack allows attackers to execute arbitrary code or cause denial of service via crafted CAB files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-18584?

CVE-2018-18584 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 23 Oct 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

In mspack/cab.h in libmspack before 0.8alpha and cabextract before 1.8, the CAB block input buffer is one byte too small for the maximal Quantum block, leading to an out-of-bounds write.

Weakness: CWE-787

Which versions are affected by CVE-2018-18584?

It affects 7 products.

Products include Cabextract Project Cabextract, Canonical Ubuntu Linux, Debian Debian Linux, Libmspack Project Libmspack, Redhat Enterprise Linux, Starwindsoftware Starwind Virtual San and 1 more.

How do I fix CVE-2018-18584?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-18584 being exploited?

There is no known exploitation of CVE-2018-18584 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-18584, CLEANSTART-2023-RR06614, DEBIAN-CVE-2018-18584, GHSA-gp3p-9jm9-wrjc, UBUNTU-CVE-2018-18584.

Is CVE-2018-18584 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free