CVE-2018-17985 Denial of service in n/a
Attackers can cause a denial of service via stack exhaustion in the cplus_demangle_type function when processing crafted input with many 'P' characters.
- 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-17985?
CVE-2018-17985 is a medium-severity denial of service vulnerability in Gnu Binutils, published on 4 Oct 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 cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption problem caused by the cplus_demangle_type function making recursive calls to itself in certain scenarios involving many 'P' characters.
Weakness: CWE-400
Which versions are affected by CVE-2018-17985?
It affects 1 product.
Products include Gnu Binutils.
How do I fix CVE-2018-17985?
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-17985 being exploited?
There is no known exploitation of CVE-2018-17985 in the wild and no public exploit code.
Other vulnerabilities in Gnu Binutils
Sources
Also known as DEBIAN-CVE-2018-17985, GHSA-gcp9-387f-vxqg, UBUNTU-CVE-2018-17985.