CVE-2017-7300 Memory corruption in n/a

High 7.5 Published Updated

A heap-based buffer over-read in the BFD library allows attackers to cause a denial of service via a crafted binary file processed by the linker.

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

CVE-2017-7300 is a high-severity memory corruption vulnerability in Gnu Binutils, published on 29 Mar 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, has an aout_link_add_symbols function in bfd/aoutx.h that is vulnerable to a heap-based buffer over-read (off-by-one) because of an incomplete check for invalid string offsets while loading symbols, leading to a GNU linker (ld) program crash.

Weakness: CWE-125

Which versions are affected by CVE-2017-7300?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-7300?

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

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7300, GHSA-wmr9-3gx6-q5c2, UBUNTU-CVE-2017-7300.

Is CVE-2017-7300 in your software?

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

Check your SBOMs for free