An issue was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.29 and 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_nested_args, demangle_args, do_arg, and do_type.
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Link | Tags |
---|---|
https://sourceware.org/bugzilla/show_bug.cgi?id=23008 | issue tracking third party advisory |
https://usn.ubuntu.com/4326-1/ | vendor advisory |
https://usn.ubuntu.com/4336-1/ | vendor advisory |