Out-of-bounds Read in GNU Binutils

CVE-2017-7226

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.

Vulnerability class: Buffer Overflow

EPSS: 0.025 (83.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2017-7226?
CVE-2017-7226 is a critical-severity vulnerability in GNU Binutils, classified under Out-of-bounds Read. CVSS score: 9.1/10. Published 2017-03-22.
How severe is CVE-2017-7226?
Critical severity. CVSS v3 base score is 9.1 out of 10.
Is CVE-2017-7226 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.