{"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-07-09T00:52:44.277846Z","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":"7fa393306ed8b93019d225548474c0540b8928f7"},{"last_affected":"7fa393306ed8b93019d225548474c0540b8928f7"}],"database_specific":{"cpe":"cpe:2.3:a:gnu:binutils:2.28:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.28"},{"last_affected":"2.28"}],"source":"CPE_STRING"}}],"versions":["2.28","binutils-2_28"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}