Resource exhaustion in Gnu Binutils

CVE-2018-12641

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.

Vulnerability class: DoS (Denial of Service)

EPSS: 0.021 (79.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-12641?
CVE-2018-12641 is a medium-severity vulnerability in Gnu Binutils, classified under Uncontrolled Resource Consumption. CVSS score: 5.5/10. Published 2018-06-22.
How severe is CVE-2018-12641?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2018-12641 known to be exploited?
8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.