Memory Allocation with Excessive Size Value Affecting binutils package, versions [,2.31.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (59th 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-UNMANAGED-BINUTILS-2368419
  • published26 Jan 2022
  • disclosed10 Apr 2018
  • creditUnknown

Introduced: 10 Apr 2018

CVE-2018-9996  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade binutils to version 2.31.1 or higher.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value. An issue was discovered 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_template_value_parm, demangle_integral_value, and demangle_expression.

References

CVSS Base Scores

version 3.1