High
Security advisory
GNU linker (ld) in GNU Binutils 2.28 is vulnerable to a heap-based buffer overflow while processing a bogus input script, leading to a program crash. This relates to lack of '\0' termination of a name field in ldlex.l.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-7227
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:09 UTC · Revision 1
Source evidence
GNU linker (ld) in GNU Binutils 2.28 is vulnerable to a heap-based buffer overflow while processing a bogus input script, leading to a program crash. This relates to lack of '\0' termination of a name field in ldlex.l.
osv:CVE-2017-7227
Complete source record
{
"id": "b3e06e4918cacded0dd552af3a698d34d5f0419b385e3f451ebb2ef7a06429c6",
"url": "https://osv.dev/vulnerability/CVE-2017-7227",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-7227",
"summary": "GNU linker (ld) in GNU Binutils 2.28 is vulnerable to a heap-based buffer overflow while processing a bogus input script, leading to a program crash. This relates to lack of '\\0' termination of a name field in ldlex.l.",
"evidence": "osv:CVE-2017-7227",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-7227",
"aliases": [
"CVE-2017-7227"
],
"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-7227.json"
}
}
],
"modified": "2026-10-24T10:30:36.128047931Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/201801-01",
"https://sourceware.org/bugzilla/show_bug.cgi?id=20906"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-7227",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433900,
"published_at": "2017-03-22T16:59:00.293+00:00"
}