CVE-2017-7227 Memory corruption in n/a

High 7.5 Published Updated

A heap-based buffer overflow in the GNU linker allows attackers to cause a denial of service via a crafted input script.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-7227?

CVE-2017-7227 is a high-severity memory corruption vulnerability in Gnu Binutils, published on 22 Mar 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

GNU linker (ld) in GNU Binutils 2.28 is vulnerable to a heap-based buffer overflow while processing a bogus input script, leading to a program crash. This relates to lack of '\0' termination of a name field in ldlex.l.

Weakness: CWE-119

Which versions are affected by CVE-2017-7227?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-7227?

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-2017-7227 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7227, GHSA-xgmh-4vh7-2fjj, UBUNTU-CVE-2017-7227.

Is CVE-2017-7227 in your software?

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

Check your SBOMs for free