Out-of-bounds read in Binutils - CVE-2017-7226

 

Out-of-bounds read in Binutils - CVE-2017-7226

Published: March 22, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU39409
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-7226
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to #BASIC_IMPACT#.

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.


Affected software

Binutils

How to mitigate CVE-2017-7226

Install update from vendor's website.


External References

Related Security Bulletins