{"id":"CVE-2018-18700","state":"PUBLISHED","title":"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 ","description":"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.","publishedAt":"2018-10-27T16:00:00.000Z","updatedAt":"2026-10-15T17:36:27.423Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87681","https://usn.ubuntu.com/4326-1/","https://usn.ubuntu.com/4336-1/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:30.448Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/18xxx/CVE-2018-18700.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2018-18700","state":"PUBLISHED","datePublished":"2018-10-27T16:00:00.000Z","dateUpdated":"2026-10-15T17:36:27.423Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-10-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87681","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/4326-1/","name":"USN-4326-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4336-1/","name":"USN-4336-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2020-04-29T02:06:11.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-10-27T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-18700","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87681","refsource":"MISC","url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87681"},{"name":"USN-4326-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4326-1/"},{"name":"USN-4336-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4336-1/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87681","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/4326-1/","name":"USN-4326-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/4336-1/","name":"USN-4336-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T11:16:00.418Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-15T17:36:13.726943Z","id":"CVE-2018-18700","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T17:36:27.423Z"}}]}}}