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, as demonstrated by nm.
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
Link | Tags |
---|---|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87675 | vendor advisory issue tracking exploit |
https://usn.ubuntu.com/4326-1/ | vendor advisory |
https://usn.ubuntu.com/4336-1/ | vendor advisory |