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.(CVE-2018-17985)
Impact
A remote attacker may cause a denial-of-service (DoS) attack on the affected system.