CVE-2018-9138 Denial of service in n/a

Medium 5.5 Published Updated

Stack exhaustion in GNU libiberty C++ demangling functions allows attackers to cause a denial of service via recursive stack frames.

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-2018-9138?

CVE-2018-9138 is a medium-severity denial of service vulnerability in Gnu Binutils, published on 30 Mar 2018. 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

An issue was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.29 and 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_nested_args, demangle_args, do_arg, and do_type.

Weakness: CWE-674

Which versions are affected by CVE-2018-9138?

It affects 1 product.

Products include Gnu Binutils.

How do I fix CVE-2018-9138?

Upgrade to a fixed version.

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-2018-9138 being exploited?

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

All Gnu Binutils vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-9138, GHSA-cwff-w289-23wm, UBUNTU-CVE-2018-9138.

Is CVE-2018-9138 in your software?

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

Check your SBOMs for free