Buffer overflow in Gnu Binutils

CVE-2018-20673

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, contains an integer overflow vulnerability (for "Create an array for saving the template argument values") that can trigger a heap-based buffer overflow, as demonstrated by nm.

Vulnerability class: Integer Overflow

EPSS: 0.016 (73.9th 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

  • 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)

Frequently asked questions

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