# CVE-2018-17985

- 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-04 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-17985, DEBIAN-CVE-2018-17985
- Record: https://cvemate.com/vulnerability/CVE-2018-17985 · JSON: https://cvemate.com/vulnerability/CVE-2018-17985/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 problem caused by the cplus_demangle_type function making recursive calls to itself in certain scenarios involving many 'P' characters.
```

## 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.291%, percentile 71.244%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## 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=87335>
- <http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00072.html>
- <http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00008.html>
- <https://usn.ubuntu.com/4326-1/>
- <https://usn.ubuntu.com/4336-1/>
- <https://ubuntu.com/security/CVE-2018-17985>
- <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-17985>
- <https://security-tracker.debian.org/tracker/CVE-2018-17985>

---

Data as of 2026-12-05T04:27:36.688Z. 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
