CVE-2018-18701: GNU Binutils - Denial of Service
- Cve: CVE-2018-18701
- Name: GNU Binutils - Denial of Service
- 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.
- Impact: Attackers can cause denial-of-service by exhausting stack resources through crafted ELF files.
- Remediation: Update to the latest version of GNU Binutils where the issue is fixed.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.01686
- Epss percentile: 0.77502
- Assignee: [email protected]
- Published at: 2018-10-29T12:29:04Z
- Age in days: 2949
- Modified at: 2026-06-17T01:47:43Z
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-18701
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-835 | Loop with Unreachable Exit Condition |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675 | nvd | 2018-10-29 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675 | Exploit, Issue Tracking, Vendor Advisory |
| https://usn.ubuntu.com/4326-1/ | |
| https://usn.ubuntu.com/4336-1/ |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gnu:binutils | = 2.31 | no | nvd | /v1/products/gnu/binutils |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-10-29
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts