Vulnerabilities · 2018 · Gnu
CVE-2018-12641
Gnu Binutils vulnerability
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
Binutils. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Binutils runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- gcc.gnu.org/bugzilla/show_bug.cgi?id=85452 · Vendor Advisory
- bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763099 · Third Party Advisory
- sourceware.org/bugzilla/show_bug.cgi?id=23058 · Exploit
- access.redhat.com/errata/RHSA-2019:2075
- security.gentoo.org/glsa/201908-01
- usn.ubuntu.com/4326-1/
- usn.ubuntu.com/4336-1/
- nvd.nist.gov/vuln/detail/CVE-2018-12641
- cve.org/CVERecord?id=CVE-2018-12641
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.