CVEvulnerability

CVE-2018-18701

5.5 MEDIUM Published 2018-10-29 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-10-29
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
5.5 MEDIUM — CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
Weaknesses
CWE-835

Description

An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption vulnerability resulting from infinite recursion in the functions next_is_type_qual() and cplus_demangle_type() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file, as demonstrated by nm.

Affected configurations

• gnu binutils 2.31

Related

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References