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 next_is_type_qual() and cplus_demangle_type() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file. References: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675
Created binutils tracking bugs for this issue: Affects: fedora-all [bug 1646530] Created mingw-binutils tracking bugs for this issue: Affects: epel-all [bug 1646531]
Potentially a dupe of CVE-2018-18484, or at least the same root cause.