CVE-2018-18701

binutils: infinite recursion in next_is_type_qual and cplus_demangle_type functions 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 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.

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-10417 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.
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 epss

{'score': 0.00468}

epss

{'score': 0.00353}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 11:16 AM
Reserved
Oct 27, 2018, 12:00 AM
Status
Modified
Published
Oct 29, 2018, 12:29 PM
Modified
Jun 17, 2026, 1:47 AM
Severity
Low
Public date
Oct 21, 2018, 12:00 AM