CVE-2016-4491 Denial of service in n/a

Medium 5.5 Published Updated

Remote attackers can cause a denial of service via crafted binaries triggering infinite recursion and buffer overflow in the libiberty demangler.

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-2016-4491?

CVE-2016-4491 is a medium-severity denial of service vulnerability in n/a, published on 24 Feb 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 d_print_comp function in cp-demangle.c in libiberty allows remote attackers to cause a denial of service (segmentation fault and crash) via a crafted binary, which triggers infinite recursion and a buffer overflow, related to a node having "itself as ancestor more than once."

Weakness: CWE-119

Which versions are affected by CVE-2016-4491?

It affects 1 product.

Products include Gnu Libiberty.

How do I fix CVE-2016-4491?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-4491 being exploited?

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

Sources

Also known as DEBIAN-CVE-2016-4491, GHSA-7r8p-jc9c-3r5f, UBUNTU-CVE-2016-4491.

Is CVE-2016-4491 in your software?

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

Check your SBOMs for free