Vulnerability Details : CVE-2018-18701
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.
Vulnerability category: Denial of service
Products affected by CVE-2018-18701
- cpe:2.3:a:gnu:binutils:2.31:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-18701
0.35%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 72 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-18701
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2018-18701
-
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-18701
-
https://usn.ubuntu.com/4336-1/
USN-4336-1: GNU binutils vulnerabilities | Ubuntu security notices
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675
87675 – Stack Overflow in function next_is_type_qual() in cp-demangle.c, as demonstrated by "nm -C"Exploit;Issue Tracking;Vendor Advisory
-
https://usn.ubuntu.com/4326-1/
USN-4326-1: libiberty vulnerabilities | Ubuntu security notices
Jump to