Medium
Security advisory
A flaw was found in GNU Binutils 2.35.1, where there is a heap-based buffer overflow in _bfd_elf_slurp_secondary_reloc_section in elf.c due to the number of symbols not calculated correctly. The highest threat from this vulnerability is to system availability.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-20284
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:26 UTC · Revision 1
Source evidence
A flaw was found in GNU Binutils 2.35.1, where there is a heap-based buffer overflow in _bfd_elf_slurp_secondary_reloc_section in elf.c due to the number of symbols not calculated correctly. The highest threat from this vulnerability is to system availability.
osv:CVE-2021-20284
Complete source record
{
"id": "5d26426d692b1e060f7d879020dc8612d738cc5c7226d1d801abc3ac42d58827",
"url": "https://osv.dev/vulnerability/CVE-2021-20284",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-20284",
"summary": "A flaw was found in GNU Binutils 2.35.1, where there is a heap-based buffer overflow in _bfd_elf_slurp_secondary_reloc_section in elf.c due to the number of symbols not calculated correctly. The highest threat from this vulnerability is to system availability.",
"evidence": "osv:CVE-2021-20284",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-20284",
"aliases": [
"CVE-2021-20284"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/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": "7e46a74aa3713c563940960e361e08defda019c2"
},
{
"last_affected": "7e46a74aa3713c563940960e361e08defda019c2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnu:binutils:2.35.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.35.1"
},
{
"last_affected": "2.35.1"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.35.1",
"binutils-2_35_1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20284.json"
}
}
],
"modified": "2026-10-24T10:30:53.438755037Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/202208-30",
"https://security.netapp.com/advisory/ntap-20210521-0010/",
"https://bugzilla.redhat.com/show_bug.cgi?id=1937784",
"https://sourceware.org/bugzilla/show_bug.cgi?id=26931"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-20284",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 437918,
"published_at": "2021-03-26T17:15:13.063+00:00"
}