CVEfocus › CVE database › CVE-2018-7642

CVE-2018-7642

CVSS 5.5 MediumEPSS 1.9% (higher than 80% of CVEs)Published 2018-03-02Updated 2024-08-05Assigner: mitre

The swap_std_reloc_in function in aoutx.h in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, allows remote attackers to cause a denial of service (aout_32_swap_std_reloc_out NULL pointer dereference and application crash) via a crafted ELF file, as demonstrated by objcopy.

What to do

Fixed builds are available from Alpine, Debian, Red Hat: 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

7Fixed
2Fix pending
4Will not fix
6Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 25.10binutilsNot affected
vulnerable_code_not_present
Ubuntu 24.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 22.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 16.04binutilsFix pending2.26.1-1ubuntu1~16.04.8+esm1 (Ubuntu Pro)UBUNTU-CVE-2018-7642
Ubuntu 14.04binutilsFix pendingUBUNTU-CVE-2018-7642
Debian 14binutilsFixed2.30-6DEBIAN-CVE-2018-7642
Debian 13binutilsFixed2.30-6DEBIAN-CVE-2018-7642
Debian 12binutilsFixed2.30-6DEBIAN-CVE-2018-7642
Red Hat Enterprise Linux 8binutilsNot affected
Red Hat Enterprise Linux 8binutils-develNot affected
Red Hat Enterprise Linux 7binutilsFixed0:2.27-34.base.el7RHSA-2018:3032
Red Hat Enterprise Linux 7binutils-develFixed0:2.27-34.base.el7RHSA-2018:3032
Red Hat Enterprise Linux 6binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 6binutils-develWill not fix
Will not fix
Red Hat Enterprise Linux 5binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 5binutils220Will not fix
Will not fix
Alpine Linux 3.8binutilsFixed2.30-r6ALPINE-CVE-2018-7642
Alpine Linux 3.7binutilsFixed2.30-r2ALPINE-CVE-2018-7642

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:

References

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.