{"id":"CVE-2017-7225","details":"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.","modified":"2026-04-16T06:21:37.769667499Z","published":"2017-03-22T16:59:00.230Z","related":["SUSE-SU-2017:3170-1","SUSE-SU-2018:3207-1","SUSE-SU-2018:3207-2","openSUSE-SU-2024:10651-1"],"references":[{"type":"WEB","url":"http://www.securityfocus.com/bid/97275"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201801-01"},{"type":"FIX","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=20891"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://sourceware.org/git/binutils-gdb.git","events":[{"introduced":"0"},{"last_affected":"7fa393306ed8b93019d225548474c0540b8928f7"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.28"}]}}],"versions":["binutils-2_28","gdb-4_18-branchpoint","gdb-7.10-branchpoint","gdb-7.11-branchpoint","gdb-7.12-branchpoint","gdb-7.7-branchpoint","gdb-7.8-branchpoint","gdb-7.9-branchpoint","gdb_5_2-branchpoint","gdb_5_3-branchpoint","gdb_6_0-branchpoint","gdb_6_1-branchpoint","gdb_6_2-branchpoint","gdb_6_3-branchpoint","gdb_6_4-branchpoint","gdb_6_5-branchpoint","gdb_6_6-branchpoint","gdb_6_7-branchpoint","gdb_6_8-branchpoint","gdb_7_0-branchpoint","gdb_7_1-branchpoint","gdb_7_2-branchpoint","gdb_7_3-branchpoint","gdb_7_4-branchpoint","gdb_7_5-branchpoint","gdb_7_6-branchpoint","users/ARM/embedded-binutils-2_28-branch-2017q1","users/ARM/embedded-binutils-master-2016q4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7225.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}