CVE-2018-10534

binutils: out of bounds memory write in peXXigen.c files

Published Apr 29, 2018 CVSS 3.0 · 5.5 Medium EPSS 1.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-2606 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.
Ubuntu USN Ubuntu USN USN-4336-1 GNU binutils vulnerabilities
Ubuntu USN Ubuntu USN USN-4336-2 GNU binutils vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 7:39 AM
Reserved
Apr 29, 2018, 12:00 AM
Status
Modified
Published
Apr 29, 2018, 3:29 PM
Modified
Jun 17, 2026, 1:34 AM
Severity
Low
Public date
Apr 24, 2018, 12:00 AM