# CVE-2018-12641

- 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-06-22 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-12641
- Record: https://cvemate.com/vulnerability/CVE-2018-12641 · JSON: https://cvemate.com/vulnerability/CVE-2018-12641/json

## Description

```text
An issue was discovered in arm_pt in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_arm_hp_template, demangle_class_name, demangle_fund_type, do_type, do_arg, demangle_args, and demangle_nested_args. This can occur during execution of nm-new.
```

## 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.915%, percentile 80.554%, 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

- 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.30

## References

- <https://sourceware.org/bugzilla/show_bug.cgi?id=23058>
- <https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763099>
- <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85452>
- <https://security.gentoo.org/glsa/201908-01>
- <https://access.redhat.com/errata/RHSA-2019:2075>
- <https://usn.ubuntu.com/4326-1/>
- <https://usn.ubuntu.com/4336-1/>
- <https://ubuntu.com/security/CVE-2018-12641>
- <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-12641>

---

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