# CVE-2018-18701

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-10-27 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-18701, DEBIAN-CVE-2018-18701
- Record: https://cvemate.com/vulnerability/CVE-2018-18701 · JSON: https://cvemate.com/vulnerability/CVE-2018-18701/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.0, NVD) CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.686%, percentile 77.82%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian binutils (Debian): \< 2.32.51.20190707-1
- ubuntu binutils (Ubuntu): All versions (No fix recorded) \| \< 2.26.1-1ubuntu1~16.04.8+esm1 \| \< 2.30-21ubuntu1~18.04.3
- ubuntu libiberty (Ubuntu): \< 20160215-1ubuntu0.3 \| \< 20170913-1ubuntu0.1
- gnu binutils: 2.31

## References

- <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675>
- <https://usn.ubuntu.com/4326-1/>
- <https://usn.ubuntu.com/4336-1/>
- <https://ubuntu.com/security/CVE-2018-18701>
- <https://ubuntu.com/security/notices/USN-4326-1>
- <https://ubuntu.com/security/notices/USN-4336-1>
- <https://ubuntu.com/security/notices/USN-4336-2>
- <https://www.cve.org/CVERecord?id=CVE-2018-18701>
- <https://security-tracker.debian.org/tracker/CVE-2018-18701>

---

Data as of 2026-12-05T13:19:02.110Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
