CVE-2018-18605Out-of-bounds Read in Binutils

CWE-125Out-of-bounds Read11 documents8 sources
Severity
5.5MEDIUMNVD
EPSS
0.7%
top 28.24%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedOct 23
Latest updateMay 13

Description

A heap-based buffer over-read issue was discovered in the function sec_merge_hash_lookup in merge.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.31, because _bfd_add_merge_section mishandles section merges when size is not a multiple of entsize. A specially crafted ELF allows remote attackers to cause a denial of service, as demonstrated by ld.

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages2 packages

Debiangnu/binutils< 2.32.51.20190707-1+3
NVDgnu/binutils2.31

Also affects: Debian Linux 7.0, 8.0, 9.0

🔴Vulnerability Details

3
GHSA
GHSA-qm76-f9jv-m69c: A heap-based buffer over-read issue was discovered in the function sec_merge_hash_lookup in merge2022-05-13
CVEList
CVE-2018-18605: A heap-based buffer over-read issue was discovered in the function sec_merge_hash_lookup in merge2018-10-23
OSV
CVE-2018-18605: A heap-based buffer over-read issue was discovered in the function sec_merge_hash_lookup in merge2018-10-23

📋Vendor Advisories

4
Ubuntu
GNU binutils vulnerabilities2021-07-21
Ubuntu
GNU binutils vulnerabilities2020-04-22
Red Hat
binutils: heap-based buffer over-read in sec_merge_hash_lookup in merge.c2018-10-21
Debian
CVE-2018-18605: binutils - A heap-based buffer over-read issue was discovered in the function sec_merge_has...2018

💬Community

3
Bugzilla
CVE-2018-18605 mingw-binutils: binutils: heap-based buffer over-read in sec_merge_hash_lookup in merge.c [epel-all]2018-11-07
Bugzilla
CVE-2018-18605 binutils: heap-based buffer over-read in sec_merge_hash_lookup in merge.c [fedora-all]2018-11-07
Bugzilla
CVE-2018-18605 binutils: heap-based buffer over-read in sec_merge_hash_lookup in merge.c2018-11-07
CVE-2018-18605 — Out-of-bounds Read in GNU Binutils | cvebase