CVE-2018-10534 Memory corruption in n/a
An out-of-bounds memory write in the BFD library allows attackers to execute arbitrary code or cause denial of service via crafted PE files.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-10534?
CVE-2018-10534 is a medium-severity memory corruption vulnerability in Gnu Binutils, published on 29 Apr 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2018-10534?
It affects 4 products.
Products include Gnu Binutils, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation.
How do I fix CVE-2018-10534?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-10534 being exploited?
There is no known exploitation of CVE-2018-10534 in the wild and no public exploit code.
Other vulnerabilities in Gnu Binutils
Sources
Also known as DEBIAN-CVE-2018-10534, GHSA-672m-f2rr-8wvq, UBUNTU-CVE-2018-10534.