What’s Vulnerable › Vulnerabilities
CVE-2018-17985
- Severity: medium (CVSS 5.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-10-04 · updated 2026-06-17
- Weakness: CWE-400
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.
Affected products
- GNU Binutils: 2.31
References
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00072.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00008.html
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87335
- https://usn.ubuntu.com/4326-1/
- https://usn.ubuntu.com/4336-1/
- http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00072.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00008.html
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87335
- https://usn.ubuntu.com/4326-1/
- https://usn.ubuntu.com/4336-1/
Get alerted when CVE-2018-17985 or the next vulnerability affects your stack