CVE-2018-9138
binutils: Stack Exhaustion in the the C++ demangling functions provided by libiberty
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · March 27, 2018
Updated · March 5, 2026
Description
An issue was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.29 and 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_nested_args, demangle_args, do_arg, and do_type.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 3.3CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
CWE-400 · Uncontrolled Resource Consumption