High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-7225
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:29 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-7225
Complete source record
{
"id": "b79496f5ff2d6e4e246776ced3a954f27e842901e43313d431b4f2edaad142b1",
"url": "https://osv.dev/vulnerability/CVE-2017-7225",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-7225",
"summary": "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.",
"evidence": "osv:CVE-2017-7225",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-7225",
"aliases": [
"CVE-2017-7225"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://sourceware.org/git/binutils-gdb.git",
"type": "GIT",
"events": [
{
"introduced": "7fa393306ed8b93019d225548474c0540b8928f7"
},
{
"last_affected": "7fa393306ed8b93019d225548474c0540b8928f7"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:binutils:2.28:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.28"
},
{
"last_affected": "2.28"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.28",
"binutils-2_28"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7225.json"
}
}
],
"modified": "2026-10-24T10:30:18.911114999Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/201801-01",
"https://sourceware.org/bugzilla/show_bug.cgi?id=20891"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-7225",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429887,
"published_at": "2017-03-22T16:59:00.23+00:00"
}