5.5medium
An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31.
- Severity
- 5.5medium CVSS:3.0 by NVD
- Exploit likelihood
- 1.69% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| gnu binutils | 2.31 | NVD |
All scores
| NVD | 5.5medium CVSS:3.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha descubierto una vulnerabilidad en cp-demangle.c en GNU libiberty, tal y como se distribuye en GNU Binutils 2.31. Hay una vulnerabilidad de consumo de pila que resulta de una recursión infinita en las funciones next_is_type_qual() y cplus_demangle_type() en cp-demangle.c. Los atacantes remotos podrían aprovechar esta vulnerabilidad para provocar una denegación de servicio (DoS) mediante un archivo ELF, tal y como queda demostrado con nm.
References
| https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675 | exploit, issue-tracking, vendor-advisory | |
| https://usn.ubuntu.com/4326-1/ | vendor-advisory | |
| https://usn.ubuntu.com/4336-1/ | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2018-18701 changed 2024-08-05 | CVE Terms of Use |
| NVD | CVE-2018-18701 changed 2026-06-17 | Public domain |