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 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.
What to do
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | binutils | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | binutils | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | binutils | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | binutils | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | binutils | Fixed | 2.30-21ubuntu1~18.04.3 | UBUNTU-CVE-2018-10534 |
| Ubuntu 16.04 | binutils | Fix pending | 2.26.1-1ubuntu1~16.04.8+esm1 (Ubuntu Pro) | UBUNTU-CVE-2018-10534 |
| Ubuntu 14.04 | binutils | Fix pending | UBUNTU-CVE-2018-10534 | |
| Debian 14 | binutils | Fixed | 2.30.90.20180627-1 | DEBIAN-CVE-2018-10534 |
| Debian 13 | binutils | Fixed | 2.30.90.20180627-1 | DEBIAN-CVE-2018-10534 |
| Debian 12 | binutils | Fixed | 2.30.90.20180627-1 | DEBIAN-CVE-2018-10534 |
| Red Hat Enterprise Linux 8 | binutils | Not affected | ||
| Red Hat Enterprise Linux 8 | binutils-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw-binutils | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mingw-binutils-generic | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mingw32-binutils | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mingw64-binutils | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | binutils | Fixed | 0:2.27-34.base.el7 | RHSA-2018:3032 |
| Red Hat Enterprise Linux 7 | binutils-devel | Fixed | 0:2.27-34.base.el7 | RHSA-2018:3032 |
| Red Hat Enterprise Linux 6 | binutils | Not affected | ||
| Red Hat Enterprise Linux 6 | binutils-devel | Not affected | ||
| Red Hat Enterprise Linux 5 | binutils | Not affected | ||
| Red Hat Enterprise Linux 5 | binutils220 | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:3032 (vendor-advisory)
- https://access.redhat.com/errata/RHBA-2019:0327 (vendor-advisory)
- https://security.gentoo.org/glsa/201908-01 (vendor-advisory)
- https://usn.ubuntu.com/4336-1/ (vendor-advisory)
References
- http://www.securityfocus.com/bid/104025
- https://access.redhat.com/errata/RHSA-2018:3032
- https://sourceware.org/bugzilla/show_bug.cgi?id=23110
- https://access.redhat.com/errata/RHBA-2019:0327
- https://security.gentoo.org/glsa/201908-01
- https://usn.ubuntu.com/4336-1/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.