{"id":"CVE-2018-12641","details":"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.","modified":"2026-08-28T14:01:22.190767Z","published":"2018-06-22T12:29:00.210Z","references":[{"type":"WEB","url":"https://usn.ubuntu.com/4326-1/"},{"type":"WEB","url":"https://usn.ubuntu.com/4336-1/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2075"},{"type":"ADVISORY","url":"https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763099"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201908-01"},{"type":"REPORT","url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85452"},{"type":"REPORT","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=23058"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://sourceware.org/git/binutils-gdb.git","events":[{"introduced":"8db5daf9efe8a6174d3b10ac7bba8c178836e9ce"},{"last_affected":"8db5daf9efe8a6174d3b10ac7bba8c178836e9ce"}],"database_specific":{"cpe":"cpe:2.3:a:gnu:binutils:2.30:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.30"},{"last_affected":"2.30"}],"source":"CPE_STRING"}}],"versions":["2.30","binutils-2_30"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-12641.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}