CVE-2017-9742 Memory corruption in n/a

High 7.8 Published Updated

A buffer overflow in GNU Binutils allows remote attackers to cause a denial of service or potentially execute code via a crafted binary file.

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-2017-9742?

CVE-2017-9742 is a high-severity memory corruption vulnerability in Gnu Binutils, published on 19 Jun 2017. 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 score_opcodes function in opcodes/score7-dis.c in GNU Binutils 2.28 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted binary file, as demonstrated by mishandling of this file during "objdump -D" execution.

Weakness: CWE-119

Which versions are affected by CVE-2017-9742?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-9742?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-9742 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-9742 exists.

Public exploit code: 1 Exploit-DB entry.

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-9742, GHSA-hvw4-9v69-8rhf, UBUNTU-CVE-2017-9742.

Is CVE-2017-9742 in your software?

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

Check your SBOMs for free