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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2018-10534 vendor-advisory
- 104025 third-party-advisory vdb-entry
- RHBA-2019:0327 third-party-advisory vendor-advisory
- RHSA-2018:3032 third-party-advisory vendor-advisory
- GLSA-201908-01 vendor-advisory
- sourceware.org issue-tracking third-party-advisory
- USN-4336-1 vendor-advisory