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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.019, 80.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Binutils — versions 2.28
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, fokypoky/places-list). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- sourceware.org/bugzilla/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- GLSA-201709-02 (vendor-advisory)