Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Binutils | 2.31 |
Related Weaknesses (CWE)
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=87335Issue TrackingThird Party Advisory
- 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=87335Issue TrackingThird Party Advisory
- https://usn.ubuntu.com/4326-1/
- https://usn.ubuntu.com/4336-1/
FAQ
What is CVE-2018-17985?
CVE-2018-17985 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 t...
How severe is CVE-2018-17985?
CVE-2018-17985 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-17985?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Binutils.