CVE-2018-18520 Null dereference in n/a

Medium 6.5 Published Updated

Attackers can cause a denial of service via application crash by providing a crafted ELF file to elfutils libelf.

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

CVE-2018-18520 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 19 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

An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174. Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.

Weakness: CWE-119

Which versions are affected by CVE-2018-18520?

It affects 7 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Elfutils Project Elfutils, Opensuse Leap, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 1 more.

How do I fix CVE-2018-18520?

Upgrade to a fixed version.

Is CVE-2018-18520 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-18520, GHSA-g4gh-9444-xxxh, UBUNTU-CVE-2018-18520.

Is CVE-2018-18520 in your software?

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

Check your SBOMs for free