CVE-2017-7226 Information disclosure in n/a

Critical 9.1 Published Updated

A heap-based buffer over-read in the BFD library allows attackers to cause crashes or disclose sensitive information via crafted binary files.

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

CVE-2017-7226 is a critical vulnerability in Gnu Binutils, published on 22 Mar 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The pe_ILF_object_p function in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to a heap-based buffer over-read of size 4049 because it uses the strlen function instead of strnlen, leading to program crashes in several utilities such as addr2line, size, and strings. It could lead to information disclosure as well.

Weakness: CWE-125

Which versions are affected by CVE-2017-7226?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-7226?

Apply the vendor's patch.

Is CVE-2017-7226 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7226, GHSA-gfmx-5h2c-grrx, UBUNTU-CVE-2017-7226.

Is CVE-2017-7226 in your software?

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

Check your SBOMs for free