First published: Sun Apr 29 2018(Updated: )
A flaw was found in 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. References: <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=23110">https://sourceware.org/bugzilla/show_bug.cgi?id=23110</a> Patch: <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aa4a8c2a2a67545e90c877162c53cc9de42dc8b4">https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aa4a8c2a2a67545e90c877162c53cc9de42dc8b4</a>
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
GNU Binutils | =2.30 | |
Redhat Enterprise Linux Desktop | =7.0 | |
Redhat Enterprise Linux Server | =7.0 | |
Redhat Enterprise Linux Workstation | =7.0 | |
debian/binutils | 2.35.2-2 2.40-2 2.43.50.20241215-1 2.43.50.20241221-1 |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=aa4a8c2a2a67545e90c877162c53cc9de42dc8b4
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-10534 is a vulnerability in the Binary File Descriptor (BFD) library, as distributed in GNU Binutils 2.30, that allows for an unbounded loop with a negative Data Directory size.
CVE-2018-10534 affects Ubuntu versions 18.04.3 (Bionic) and 16.04.8+ (Xenial) with binutils package versions 2.30-21ubuntu1~18.04.3 and 2.26.1-1ubuntu1~16.04.8+, respectively.
CVE-2018-10534 has a low severity with a severity value of 1.
To fix CVE-2018-10534 on Ubuntu, you should update the binutils package to version 2.30-21ubuntu1~18.04.3 for Bionic or version 2.26.1-1ubuntu1~16.04.8+ for Xenial.
You can find more information about CVE-2018-10534 at the following references: [Sourceware Bugzilla](https://sourceware.org/bugzilla/show_bug.cgi?id=23110), [SecurityFocus](http://www.securityfocus.com/bid/104025), [Red Hat Advisory](https://access.redhat.com/errata/RHSA-2018:3032).