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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Binutils | Gnu | 2.29 (including) | 2.29 (including) |
Binutils | Gnu | 2.30 (including) | 2.30 (including) |
Binutils | Ubuntu | artful | * |
Binutils | Ubuntu | bionic | * |
Binutils | Ubuntu | cosmic | * |
Binutils | Ubuntu | esm-infra-legacy/trusty | * |
Binutils | Ubuntu | esm-infra/xenial | * |
Binutils | Ubuntu | precise/esm | * |
Binutils | Ubuntu | trusty | * |
Binutils | Ubuntu | trusty/esm | * |
Binutils | Ubuntu | upstream | * |
Binutils | Ubuntu | xenial | * |
Libiberty | Ubuntu | artful | * |
Libiberty | Ubuntu | bionic | * |
Libiberty | Ubuntu | cosmic | * |
Libiberty | Ubuntu | disco | * |
Libiberty | Ubuntu | trusty | * |
Libiberty | Ubuntu | upstream | * |
Libiberty | Ubuntu | xenial | * |