CVE-2017-6966 Use after free in n/a

Medium 5.5 Published Updated

A use-after-free vulnerability in GNU Binutils readelf allows attackers to cause denial of service or potentially execute code via a crafted MSP430 binary.

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

CVE-2017-6966 is a medium-severity use after free vulnerability in Gnu Binutils, published on 17 Mar 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

readelf in GNU Binutils 2.28 has a use-after-free (specifically read-after-free) error while processing multiple, relocated sections in an MSP430 binary. This is caused by mishandling of an invalid symbol index, and mishandling of state across invocations.

Weakness: CWE-416

Which versions are affected by CVE-2017-6966?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-6966?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2017-6966 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-6966, GHSA-8v4m-gqx8-68xh, UBUNTU-CVE-2017-6966.

Is CVE-2017-6966 in your software?

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

Check your SBOMs for free