Skip to content
OpenAdvisories
Unscored CVE-2018-10534 EUVD-2018-2606GHSA-672m-f2rr-8wvq

The _bfd_XX_bfd_copy_private_bfd_data_common function in peXXigen.c in the Binary File Descriptor (BFD) library (aka libbfd), as distribute…

Published Apr 29, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 binutils 2.30.90.20180627-1 —
Debian 13 binutils 2.30.90.20180627-1 —
Debian 12 binutils 2.30.90.20180627-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS binutils 2.30-21ubuntu1~18.04.3 USN-4336-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS binutils 2.26.1-1ubuntu1~16.04.8+esm1 USN-4336-2
Ubuntu Pro 14.04 LTS binutils No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 binutils +1 2.27-34.base.el7 RHSA-2018:3032
ReleasePackageFixed inAdvisory
SLES 15 binutils 2.31-6.3.1 SUSE-SU-2018:3170-1
SLES 12 SP3 binutils +2 2.31-9.26.1 SUSE-SU-2018:3207-1
SLES 12 SP2 binutils 2.31-9.26.1 SUSE-SU-2018:3207-2, SUSE-SU-2018:3207-1
SLES 12 SP1 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
SLES 12 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
SLES for SAP 12 SP2 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
SLES for SAP 12 SP1 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
SUSE OpenStack Cloud 7 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
SUSE Enterprise Storage 4 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed binutils 2.37-1.3 openSUSE-SU-2024:10651-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 binutils +1 2.27-34.base.0.1.el7 ELSA-2018-3032

Advisories 8

References