CVE-2017-7225NULL Pointer Dereference in Binutils

Severity
7.5HIGHNVD
EPSS
0.4%
top 39.84%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedMar 22
Latest updateMay 14

Description

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

Debiangnu/binutils< 2.27.51.20161201-1+3
NVDgnu/binutils2.28

Patches

🔴Vulnerability Details

3
GHSA
GHSA-6g78-2pwj-3gvj: The find_nearest_line function in addr2line in GNU Binutils 22022-05-14
CVEList
CVE-2017-7225: The find_nearest_line function in addr2line in GNU Binutils 22017-03-22
OSV
CVE-2017-7225: The find_nearest_line function in addr2line in GNU Binutils 22017-03-22

📋Vendor Advisories

3
Ubuntu
GNU binutils vulnerabilities2021-07-21
Debian
CVE-2017-7225: binutils - The find_nearest_line function in addr2line in GNU Binutils 2.28 does not handle...2017
Red Hat
binutils: Null pointer dereference and invalid write in find_nearest_line function in addr2line2016-12-01

💬Community

1
Bugzilla
CVE-2017-7225 binutils: Null pointer dereference and invalid write in find_nearest_line function in addr2line2017-03-23
CVE-2017-7225 — NULL Pointer Dereference in Binutils | cvebase