Breaking: Java4Shell (CVE-2026-114938) - Less Than 0.12% of JVMs Estimated at Risk of RCE
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2018-20657

libiberty: Memory leak in demangle_template function resulting in a denial of service

Overview

Published
2 Jan 2019
Modified
17 Jun 2026
High CVE
0 Registry packages
57 OS packages
4 Linux distributions
Yes Fix available

Description

The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.31.1, has a memory leak via a crafted string, leading to a denial of service (memory consumption), as demonstrated by cxxfilt, a related issue to CVE-2018-12698.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-772

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 6 fixes

Oracle Linux 1 release · 1 package

fixed 1
gdb
Oracle Linux fixes for CVE-2018-20657
ReleasePackageFixed in
8 gdb +3 8.2-6.el8

Photon OS 1 release · 1 package

fixed 1
crash
Photon OS fixes for CVE-2018-20657
ReleasePackageFixed in
4.0 crash +1 8.0.2-1.ph4

Red Hat 2 releases · 2 packages

wont fix 2 fixed 1
binutils gdb
Red Hat fixes for CVE-2018-20657
ReleasePackageFixed inAdvisory
7 binutils +43 wont fix —
8 binutils +33 wont fix —
8 gdb +3 0:8.2-6.el8 RHSA-2019:3352

ubuntu 1 release · 1 package

affected 1
binutils
ubuntu fixes for CVE-2018-20657
ReleasePackageFixed in
18.04-ESM binutils affected

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.