MediumFix available
binutils — security advisory
The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.
- Products
- binutils
- Affected versions
- Not specified
- Fixed versions
- 2.30-r2, 2.30-r6
- CVEs
- CVE-2018-7642
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 22:16 UTC · Revision 1
Source evidence
The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.
osv:ALPINE-CVE-2018-7642
binutils
Fixed versions: 2.30-r2
binutils
Fixed versions: 2.30-r6
Complete source record
{
"id": "6088b304a41eea8ef29e6910cccbe50a942da8345887eb2aaec0c9cfd20cdc11",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2018-7642",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2018-7642",
"summary": "The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.",
"evidence": "osv:ALPINE-CVE-2018-7642",
"products": [
{
"name": {
"value": "binutils",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.30-r2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "binutils",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.30-r6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2018-7642",
"aliases": [
"ALPINE-CVE-2018-7642"
],
"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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.30-r2"
}
]
}
],
"package": {
"name": "binutils",
"purl": "pkg:apk/alpine/binutils?arch=source",
"ecosystem": "Alpine:v3.7"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-7642.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.30-r6"
}
]
}
],
"package": {
"name": "binutils",
"purl": "pkg:apk/alpine/binutils?arch=source",
"ecosystem": "Alpine:v3.8"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-7642.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-23T17:24:50.862471385Z",
"provider": "osv",
"upstream": [
"CVE-2018-7642"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2018-7642"
]
},
"related_cves": [
{
"value": "CVE-2018-7642",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 416167,
"published_at": "2018-03-02T15:29:00.447+00:00"
}