CVE-2018-18701
There is a stack consumption vulnerability resulting from infinite recursion in the functions next_is_type_qual() and cplus_demangle_type() in cp-demangle.c.
Does this matter?
Lower severity and a low EPSS score (1.69%). Track it; it rarely justifies an emergency change on its own.
Description
An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption vulnerability resulting from infinite recursion in the functions next_is_type_qual() and cplus_demangle_type() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file, as demonstrated by nm.
- CVSS 3.0
- 5.5 MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS
- 1.69% probability · 76th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-835
- Affected
- gnu/binutils
- Source
- cve@mitre.org
References
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675Exploit, Issue Tracking, Vendor Advisory
- https://usn.ubuntu.com/4326-1/
- https://usn.ubuntu.com/4336-1/
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675Exploit, Issue Tracking, Vendor Advisory
- https://usn.ubuntu.com/4326-1/
- https://usn.ubuntu.com/4336-1/
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.