CVE-2018-6381 Memory corruption in n/a

Medium 6.5 Published Updated

Attackers can cause a segmentation fault and denial of service in applications using ZZIPlib by triggering invalid memory access during file reading.

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-6381?

CVE-2018-6381 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 29 Jan 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 ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64, 0.13.63, 0.13.62, 0.13.61, 0.13.60, 0.13.59, 0.13.58, 0.13.57 and 0.13.56 there is a segmentation fault caused by invalid memory access in the zzip_disk_fread function (zzip/mmapped.c) because the size variable is not validated against the amount of file->stored data.

Weakness: CWE-119

Which versions are affected by CVE-2018-6381?

It affects 2 products.

Products include Canonical Ubuntu Linux, Gdraheim Zziplib.

How do I fix CVE-2018-6381?

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-6381 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-6381, GHSA-pc5j-427r-h2x3, UBUNTU-CVE-2018-6381.

Is CVE-2018-6381 in your software?

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

Check your SBOMs for free