Read the docs
TI-2018-14678 Aliases CVE-2018-20673GHSA-jx5v-cp2v-88f2

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU…

Priority LOW 28CWE-190Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 3 fixed, 4 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.01637 76th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 1 advisoryRed Hat: 3 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gnu:binutils:2.31.1:*:*:*:*:*:*:*2.31.1VulnerableGNU
  • cpe:2.3:a:gnu:binutils:2.31.1:*:*:*:*:*:*:* Versions 2.31.1 Vulnerable ·GNU

Remediation

Red Hat 1 advisory

  • RHSA-2021:4386 Released 2021-11-09 · Red Hat rating Low
    gcc security and bug fix update
    • Red Hat CodeReady Linux Builder (v. 8) gcc-plugin-devel-8.5.0-3.el8, libstdc++-static-8.5.0-3.el8
    • Red Hat Enterprise Linux AppStream (v. 8) cpp-8.5.0-3.el8, gcc-8.5.0-3.el8, gcc-c++-8.5.0-3.el8 +7
    • Red Hat Enterprise Linux BaseOS (v. 8) gcc-8.5.0-3.el8, libasan-8.5.0-3.el8, libatomic-8.5.0-3.el8 +11

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 7AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2021:4386
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2021:4386
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2021:4386
Not affected: 2 products
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-20673
  2. 2026-10-03 Alias added: GHSA-jx5v-cp2v-88f2

References

  • TI-2020-13695 An issue was discovered in binutils libbfd.c 2.36 relating to the auxiliary symbol data… CVSS 3.1HIGH 8.8
  • TI-2025-42907 GNU Binutils thru 2.46 readelf contains a double free vulnerability when processing a… CVSS 3.1HIGH 7.5
  • TI-2025-41071 An issue was discovered in function d_print_comp_inner in file cp-demangle.c in BinUtils… CVSS 3.1HIGH 7.5
  • TI-2025-41069 An issue was discovered in function d_discriminator in file cp-demangle.c in BinUtils… CVSS 3.1HIGH 7.5
  • TI-2025-41068 A buffer overflow vulnerability in function gnu_special in file cplus-dem.c in BinUtils… CVSS 3.1HIGH 7.5
  • TI-2021-21105 Heap-based Buffer Overflow in function bfd_getl32 in Binutils objdump 3.37. CVSS 3.1HIGH 7.5
See all 287 →

Sources