CVE-2018-20657

Related Vulnerabilities: CVE-2018-20657  

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.

The MITRE CVE dictionary describes this issue as:

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.

Find out more about CVE-2018-20657 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.

CVSS3 Base Score 3.3
CVSS3 Base Metrics CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Attack Vector Local
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality None
Integrity Impact None
Availability Impact Low

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 7 gcc Affected
Red Hat Enterprise Linux 7 binutils Affected
Red Hat Enterprise Linux 7 gdb Affected
Red Hat Enterprise Linux 6 gcc Will not fix
Red Hat Enterprise Linux 6 gdb Will not fix
Red Hat Enterprise Linux 6 binutils Will not fix
Red Hat Enterprise Linux 5 gcc Will not fix
Red Hat Enterprise Linux 5 gdb Will not fix
Red Hat Enterprise Linux 5 binutils Will not fix