CVE-2017-7225 Null dereference in n/a

High 7.5 Published Updated

A NULL pointer dereference in GNU Binutils addr2line allows attackers to cause a program crash via empty file and directory names.

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

CVE-2017-7225 is a high-severity 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

The find_nearest_line function in addr2line in GNU Binutils 2.28 does not handle the case where the main file name and the directory name are both empty, triggering a NULL pointer dereference and an invalid write, and leading to a program crash.

Weakness: CWE-476

Which versions are affected by CVE-2017-7225?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2017-7225?

Upgrade to a fixed version.

Is CVE-2017-7225 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7225, GHSA-6g78-2pwj-3gvj, UBUNTU-CVE-2017-7225.

Is CVE-2017-7225 in your software?

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

Check your SBOMs for free