CVE-2018-12641: gnu binutils Uncontrolled Resource Consumption
Vulnerability summary
CVE-2018-12641 is a medium (CVSS 5.5) Uncontrolled Resource Consumption vulnerability in gnu binutils. EPSS estimates a 2.00% chance of exploitation in the next 30 days, higher than 80.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 22-06-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.00%
Chance of exploitation in the next 30 days
Percentile
80%
Versus all other CVEs
30-day change
0.00 pp
From 2.00% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (sourceware.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Ubuntu2 products
- binutilsAll versions (No fix recorded) | < 2.26.1-1ubuntu1~16.04.8+esm1 | < 2.30-21ubuntu1~18.04.3
- libiberty< 20160215-1ubuntu0.3 | < 20170913-1ubuntu0.1
Gnu1 product
- binutils2.30
2 vendors · 3 products
References
12 links- sourceware.org/bugzilla/show_bug.cgi?id=23058X Refsource MISCExploitIssue TrackingThird Party Advisory