CVE-2017-9054 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-9054?

CVE-2017-9054 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-002, was discovered in libdwarf 2017-03-21. In _dwarf_decode_s_leb128_chk() a byte pointer was dereferenced just before it was checked for being in bounds, leading to a heap-based buffer over-read.

Weakness: CWE-125

Which versions are affected by CVE-2017-9054?

It affects 1 product.

Products include Libdwarf Project Libdwarf.

How do I fix CVE-2017-9054?

Apply the vendor's patch.

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

Is CVE-2017-9054 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-9054, GHSA-h22p-jg8c-6gmf, UBUNTU-CVE-2017-9054.

Is CVE-2017-9054 in your software?

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

Check your SBOMs for free