CVE-2016-5040 Denial of service in n/a

High 7.5 Published Updated

Remote attackers can cause a denial of service via a large length value in a compilation unit header, affecting applications using libdwarf.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-5040?

CVE-2016-5040 is a high-severity denial of service vulnerability in n/a, published on 17 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

libdwarf before 20160923 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a large length value in a compilation unit header.

Weakness: CWE-125

Which versions are affected by CVE-2016-5040?

It affects 1 product.

Products include Libdwarf Project Libdwarf.

How do I fix CVE-2016-5040?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-5040 being exploited?

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

Sources

Also known as DEBIAN-CVE-2016-5040, GHSA-mf89-8vq6-qjf7, UBUNTU-CVE-2016-5040.

Is CVE-2016-5040 in your software?

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

Check your SBOMs for free