CVE-2018-18700

MEDIUM CVSS 3.0: 5.5 EPSS 1.69%
Updated Oct 15, 2026
Gnu
Parameter Value
CVSS 5.5 (MEDIUM)
Type CWE-835
Vendor Gnu
Public PoC No

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 d_name(), d_encoding(), and d_local_name() in cp-demangle.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via an ELF file, as demonstrated by nm.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Gnu Binutils
cpe:2.3:a:gnu:binutils:2.31:*:*:*:*:*:*:*
— —