CVE-2017-9052 Memory corruption in n/a

Critical 9.8 Published Updated

A heap-based buffer over-read in libdwarf allows attackers to cause denial of service or disclose sensitive memory contents via crafted DWARF data.

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

What is CVE-2017-9052?

CVE-2017-9052 is a critical memory corruption vulnerability in n/a, published on 18 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue, also known as DW201703-006, was discovered in libdwarf 2017-03-21. A heap-based buffer over-read in dwarf_formsdata() is due to a failure to check a pointer for being in bounds (in a few places in this function) and a failure in a check in dwarf_attr_list().

Weakness: CWE-125, CWE-119

Which versions are affected by CVE-2017-9052?

It affects 1 product.

Products include Libdwarf Project Libdwarf.

How do I fix CVE-2017-9052?

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-2017-9052 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-9052, GHSA-4f9m-rjhv-f4pj, UBUNTU-CVE-2017-9052.

Is CVE-2017-9052 in your software?

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

Check your SBOMs for free