CVE-2018-18700

binutils: Recursive Stack Overflow within function d_name, d_encoding, and d_local_name in cp-demangle.c

Published Oct 27, 2018 CVSS 3.0 · 5.5 Medium EPSS 1.7% KEV · Not listed
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 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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-10416 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.
Ubuntu USN Ubuntu USN USN-4326-1 libiberty vulnerabilities
Ubuntu USN Ubuntu USN USN-4336-1 GNU binutils vulnerabilities
Ubuntu USN Ubuntu USN USN-4336-2 GNU binutils vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00871}

epss

{'score': 0.00777}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 15, 2026, 5:36 PM
Reserved
Oct 27, 2018, 12:00 AM
Status
Modified
Published
Oct 29, 2018, 12:29 PM
Modified
Oct 15, 2026, 6:17 PM
Severity
Low
Public date
Oct 22, 2018, 12:00 AM