NULL pointer dereference in GNU Binutils

CVE-2017-8395

The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to an invalid write of size 8 because of missing a malloc() return-value check to see if memory had actually been allocated in the _bfd_generic_get_section_contents function. This vulnerability causes programs that conduct an analysis of binary programs using the libbfd library, such as objcopy, to crash.

EPSS: 0.019 (77.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (x_refsource_CONFIRM, Patch, Third Party Advisory, Issue Tracking)
  • cve@mitre.org (vendor-advisory, x_refsource_GENTOO)

Frequently asked questions

What is CVE-2017-8395?
CVE-2017-8395 is a high-severity vulnerability in GNU Binutils, classified under NULL Pointer Dereference. CVSS score: 7.5/10. Published 2017-05-01.
How severe is CVE-2017-8395?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2017-8395 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.