CVE-2018-18700: GNU Binutils

Medium severity, CVSS 5.5. EPSS: 1.7% chance of exploitation in the next 30 days.

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 products

  • GNU Binutils: version 2.31 only

Published 2018-10-29. Last modified 2026-06-17.