CVE-2017-8397 Memory corruption in n/a

High 7.5 Published Updated

An attacker can cause a denial of service by providing a corrupt binary with negative relocation addresses to tools using the BFD library.

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

CVE-2017-8397 is a high-severity memory corruption vulnerability in Gnu Binutils, published on 1 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to an invalid read of size 1 and an invalid write of size 1 during processing of a corrupt binary containing reloc(s) with negative addresses. This vulnerability causes programs that conduct an analysis of binary programs using the libbfd library, such as objdump, to crash.

Weakness: CWE-119

Which versions are affected by CVE-2017-8397?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-8397?

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

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-8397, GHSA-v3qw-w8hm-r423, UBUNTU-CVE-2017-8397.

Is CVE-2017-8397 in your software?

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

Check your SBOMs for free