Security advisory
An issue was discovered in the merge_strings function in merge.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.31. There is a NULL pointer dereference in _bfd_add_merge_section when attempting to merge sections with large alignments. A specially crafted ELF allows remote attackers to cause a denial of service, as demonstrated by ld.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-18606
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:15 UTC · Revision 1
Source evidence
An issue was discovered in the merge_strings function in merge.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.31. There is a NULL pointer dereference in _bfd_add_merge_section when attempting to merge sections with large alignments. A specially crafted ELF allows remote attackers to cause a denial of service, as demonstrated by ld.
osv:CVE-2018-18606
Complete source record
{
"id": "069c078a9953b5b0ccf503f1437155ce2d5344e635c842a8d90d96864f9f3ddf",
"url": "https://osv.dev/vulnerability/CVE-2018-18606",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-18606",
"summary": "An issue was discovered in the merge_strings function in merge.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.31. There is a NULL pointer dereference in _bfd_add_merge_section when attempting to merge sections with large alignments. A specially crafted ELF allows remote attackers to cause a denial of service, as demonstrated by ld.",
"evidence": "osv:CVE-2018-18606",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-18606",
"aliases": [
"CVE-2018-18606"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://sourceware.org/git/binutils-gdb.git",
"type": "GIT",
"events": [
{
"introduced": "af127c216949509e57ab2a28cc56c44e4e548813"
},
{
"last_affected": "af127c216949509e57ab2a28cc56c44e4e548813"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:binutils:2.31:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.31"
},
{
"last_affected": "2.31"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.31",
"binutils-2_31"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-18606.json"
}
}
],
"modified": "2026-10-24T10:30:26.323338628Z",
"provider": "osv",
"references": [
"https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git%3Bh=45a0eaf77022963d639d6d19871dbab7b79703fc",
"https://usn.ubuntu.com/4336-1/",
"https://security.netapp.com/advisory/ntap-20190307-0003/",
"https://sourceware.org/bugzilla/show_bug.cgi?id=23806"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "7.0"
},
{
"last_affected": "7.0"
},
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-18606",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 431592,
"published_at": "2018-10-23T17:29:00.517+00:00"
}