Resource exhaustion in Gnu Binutils

CVE-2018-17985

An issue was discovered in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31. There is a stack consumption problem caused by the cplus_demangle_type function making recursive calls to itself in certain scenarios involving many 'P' characters.

Vulnerability class: DoS (Denial of Service)

EPSS: 0.013 (67.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-17985?
CVE-2018-17985 is a medium-severity vulnerability in Gnu Binutils, classified under Uncontrolled Resource Consumption. CVSS score: 5.5/10. Published 2018-10-04.
How severe is CVE-2018-17985?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2018-17985 known to be exploited?
9 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.