CVE-2018-18701

MEDIUM

GNU Binutils - Infinite Loop

Title source: rule

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.

Scores

CVSS v3 5.5
EPSS 0.0044
EPSS Percentile 63.0%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE
CWE-835
Status published

Affected Products (1)

gnu/binutils

Timeline

Published Oct 29, 2018
Tracked Since Feb 18, 2026