Buffer overflow in GNU Binutils
CVE-2018-10534
The _bfd_XX_bfd_copy_private_bfd_data_common function in peXXigen.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, processes a negative Data Directory size with an unbounded loop that increases the value of (external_IMAGE_DEBUG_DIRECTORY) *edd so that the address exceeds its own memory region, resulting in an out-of-bounds memory write, as demonstrated by objcopy copying private info with _bfd_pex64_bfd_copy_private_bfd_data_common in pex64igen.c.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.018, 78.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Binutils — versions 2.30
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (andir/nixos-issue-db-example). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/104025 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2018:3032 (vendor-advisory, Third Party Advisory)
- sourceware.org/bugzilla/show_bug.cgi (Third Party Advisory, Issue Tracking)
- RHBA-2019:0327 (vendor-advisory, Third Party Advisory)
- GLSA-201908-01 (vendor-advisory)
- USN-4336-1 (vendor-advisory)