Skip to content

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 s...

MediumCVSS 5.5 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/binutils(Debian:12) < 2.30.90.20180627-1 2.30.90.20180627-1
debian/binutils(Debian:13) < 2.30.90.20180627-1 2.30.90.20180627-1
debian/binutils(Debian:14) < 2.30.90.20180627-1 2.30.90.20180627-1
GNU binutils = 2.30 No fix listed
redhat enterprise linux desktop = 7.0 No fix listed
redhat enterprise linux server = 7.0 No fix listed
redhat enterprise linux workstation = 7.0 No fix listed

References