{"id":"CVE-2018-9138","details":"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.","modified":"2026-08-28T08:20:28.279566Z","published":"2018-03-30T08:29:00.557Z","references":[{"type":"WEB","url":"https://usn.ubuntu.com/4326-1/"},{"type":"WEB","url":"https://usn.ubuntu.com/4336-1/"},{"type":"REPORT","url":"https://sourceware.org/bugzilla/show_bug.cgi?id=23008"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://sourceware.org/git/binutils-gdb.git","events":[{"introduced":"dd9a28c0966d13924fbd1096a724ae334954d830"},{"last_affected":"8db5daf9efe8a6174d3b10ac7bba8c178836e9ce"}],"database_specific":{"extracted_events":[{"introduced":"2.29"},{"last_affected":"2.29"},{"introduced":"2.30"},{"last_affected":"2.30"}],"source":"CPE_STRING","cpe":["cpe:2.3:a:gnu:binutils:2.29:*:*:*:*:*:*:*","cpe:2.3:a:gnu:binutils:2.30:*:*:*:*:*:*:*"]}}],"versions":["2.29","2.30"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-9138.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"}]}