An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption problem caused by the cplus_demangle_type function making recursive calls to itself in certain scenarios involving many 'P' characters.
https://usn.ubuntu.com/4336-1/
https://usn.ubuntu.com/4326-1/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87335
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00008.html
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00072.html