synced 2 MIN AGO
01 Record

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

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 Description

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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
1.63% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 75.8% of scored records. A rank, not a probability.
NVD base score
5.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2019-01-04 17:00Z7 YR AGO
Last updated
2024-08-05 12:05Z2 YR AGO
Reserved
2019-01-04
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-190Integer Overflow or WraparoundBase
  • CWE-787Out-of-bounds WriteBase
Data version
5.1
Document digest
ea2e4ea467d8584654530a5f81614b1ebbc7a318f3902a3bcf03956935b252be

05 Affected products

VendorProductVersionsPlatforms
gnubinutilsNot specified—
redhatenterprise_linuxNot specified—

06 References

07 Fixed in

AlmaLinux 8

  • cpp
    Fixed in 8.5.0-3.el8.alma
  • gcc
    Fixed in 8.5.0-3.el8.alma
  • gcc-c++
    Fixed in 8.5.0-3.el8.alma
  • gcc-gdb-plugin
    Fixed in 8.5.0-3.el8.alma
  • gcc-gfortran
    Fixed in 8.5.0-3.el8.alma
  • gcc-offload-nvptx
    Fixed in 8.5.0-3.el8.alma
  • gcc-plugin-devel
    Fixed in 8.5.0-3.el8.alma
  • libitm-devel
    Fixed in 8.5.0-3.el8.alma
  • libquadmath-devel
    Fixed in 8.5.0-3.el8.alma
  • libstdc++-devel
    Fixed in 8.5.0-3.el8.alma
  • libstdc++-docs
    Fixed in 8.5.0-3.el8.alma
  • libstdc++-static
    Fixed in 8.5.0-3.el8.alma

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • cpp
    Fixed in 8.5.0-3.el8.alma
  • gcc
    Fixed in 8.5.0-3.el8.alma
  • gcc-c++
    Fixed in 8.5.0-3.el8.alma
  • gcc-gdb-plugin
    Fixed in 8.5.0-3.el8.alma
  • gcc-gfortran
    Fixed in 8.5.0-3.el8.alma
  • gcc-offload-nvptx
    Fixed in 8.5.0-3.el8.alma
  • gcc-plugin-devel
    Fixed in 8.5.0-3.el8.alma
  • libitm-devel
    Fixed in 8.5.0-3.el8.alma
  • libquadmath-devel
    Fixed in 8.5.0-3.el8.alma
  • libstdc++-devel
    Fixed in 8.5.0-3.el8.alma
  • libstdc++-docs
    Fixed in 8.5.0-3.el8.alma
  • libstdc++-static
    Fixed in 8.5.0-3.el8.alma

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • binutils
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • binutils
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • binutils
    No fix yet

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • binutils
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • binutils
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • binutils
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.