Out-of-bounds Read in Gnu Binutils

CVE-2018-20712

A heap-based buffer over-read exists in the function d_expression_1 in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31.1. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by c++filt.

Vulnerability class: Buffer Overflow

EPSS: 0.027 (84.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/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

  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
  • cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)

Frequently asked questions

What is CVE-2018-20712?
CVE-2018-20712 is a medium-severity vulnerability in Gnu Binutils, classified under Out-of-bounds Read. CVSS score: 6.5/10. Published 2019-01-15.
How severe is CVE-2018-20712?
Medium severity. CVSS v3 base score is 6.5 out of 10.
Is CVE-2018-20712 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.