Uncontrolled Recursion The advisory has been revoked - it doesn't affect any version of package libiberty  (opens in a new tab)


Threat Intelligence

EPSS
0.12% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-LIBIBERTY-645126
  • published30 Mar 2018
  • disclosed30 Mar 2018

Introduced: 30 Mar 2018

CVE-2018-9138  (opens in a new tab)
CWE-674  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:20.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libiberty package and not the libiberty package as distributed by Ubuntu.

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.