CVE-2018-7642 Null dereference in n/a

Medium 5.5 Published Updated

Remote attackers can cause a denial of service via a crafted ELF file processed by the BFD library in GNU Binutils.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-7642?

CVE-2018-7642 is a medium-severity vulnerability in Gnu Binutils, published on 2 Mar 2018. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-476

Which versions are affected by CVE-2018-7642?

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-7642?

Upgrade to a fixed version.

Is CVE-2018-7642 being exploited?

There is no known exploitation of CVE-2018-7642 in the wild and no public exploit code.

All Gnu Binutils vulnerabilities

Sources

Also known as ALPINE-CVE-2018-7642, CVE-2018-14038, DEBIAN-CVE-2018-7642, GHSA-m75f-wcjq-49mw, UBUNTU-CVE-2018-7642.

Is CVE-2018-7642 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free