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.
References (7)
Core 7
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://sourceware.org/bugzilla/show_bug.cgi?id=23058
Third Party Advisory x_refsource_misc
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763099
Issue Tracking, Vendor Advisory x_refsource_misc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85452
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201908-01
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2075
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4326-1/
Vendor Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/4336-1/
Scores
CVSS v3
5.5
EPSS
0.0072
EPSS Percentile
72.6%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Details
CWE
CWE-400
Status
published
Products (1)
gnu/binutils
2.30
Published
Jun 22, 2018
Tracked Since
Feb 18, 2026