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)
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.020, 80.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Binutils — versions 2.30
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 8 other repositories (akaganeite/CVE4PP, ICSE2020-MemLock/MemLock_Benchmark, RUB-SysSec/redqueen, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- sourceware.org/bugzilla/show_bug.cgi (Exploit, Third Party Advisory, Issue Tracking)
- bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763099 (Third Party Advisory)
- gcc.gnu.org/bugzilla/show_bug.cgi (Issue Tracking, Vendor Advisory)
- GLSA-201908-01 (vendor-advisory)
- RHSA-2019:2075 (vendor-advisory)
- USN-4326-1 (vendor-advisory)
- USN-4336-1 (vendor-advisory)