NULL pointer dereference in GNU Binutils
CVE-2017-7225
The find_nearest_line function in addr2line in GNU Binutils 2.28 does not handle the case where the main file name and the directory name are both empty, triggering a NULL pointer dereference and an invalid write, and leading to a program 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.025, 84.7th 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 3 other repositories (ARPSyndicate/cvemon, ARPSyndicate/cve-scores, fokypoky/places-list). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- GLSA-201801-01 (vendor-advisory)
- sourceware.org/bugzilla/show_bug.cgi (Patch, Issue Tracking)
- www.securityfocus.com/bid/97275 (vdb-entry)