First published: Fri Jun 22 2018(Updated: )
An issue was discovered in arm_pt in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_arm_hp_template, demangle_class_name, demangle_fund_type, do_type, do_arg, demangle_args, and demangle_nested_args. This can occur during execution of nm-new.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
GNU Binutils | =2.30 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-12641 is an issue discovered in arm_pt in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30, which can lead to a stack exhaustion vulnerability in the C++ demangling functions provided by libiberty.
CVE-2018-12641 has a severity level of low.
CVE-2018-12641 affects GNU Binutils 2.30, 2.30.90.20180627-1, 2.30-21ubuntu1~18.04.3, 2.26.1-1ubuntu1~16.04.8+, as well as libiberty packages with versions 20170913-1ubuntu0.1, 20190122-1, and 20160215-1ubuntu0.3.
To fix CVE-2018-12641, update to the latest version of GNU Binutils and libiberty packages mentioned in the affected software list.
You can find more information about CVE-2018-12641 in the following references: [1] [2] [3].