What’s Vulnerable › Vulnerabilities
CVE-2018-12641
- Severity: medium (CVSS 5.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-06-22 · updated 2026-06-17
- Weakness: CWE-400
Description
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.
Affected products
- GNU Binutils: 2.30
References
- https://access.redhat.com/errata/RHSA-2019:2075
- 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://sourceware.org/bugzilla/show_bug.cgi?id=23058
- https://usn.ubuntu.com/4326-1/
- https://usn.ubuntu.com/4336-1/
- https://access.redhat.com/errata/RHSA-2019:2075
- 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://sourceware.org/bugzilla/show_bug.cgi?id=23058
Get alerted when CVE-2018-12641 or the next vulnerability affects your stack