{"id":"CVE-2018-18700","details":"An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption vulnerability resulting from infinite recursion in the functions d_name(), d_encoding(), and d_local_name() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file, as demonstrated by nm.","modified":"2026-08-28T14:01:23.056747Z","published":"2018-10-29T12:29:04.710Z","references":[{"type":"WEB","url":"https://usn.ubuntu.com/4326-1/"},{"type":"WEB","url":"https://usn.ubuntu.com/4336-1/"},{"type":"REPORT","url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87681"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://sourceware.org/git/binutils-gdb.git","events":[{"introduced":"af127c216949509e57ab2a28cc56c44e4e548813"},{"last_affected":"af127c216949509e57ab2a28cc56c44e4e548813"}],"database_specific":{"extracted_events":[{"introduced":"2.31"},{"last_affected":"2.31"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:gnu:binutils:2.31:*:*:*:*:*:*:*"}}],"versions":["2.31","binutils-2_31"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-18700.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"}]}