The demangle_template function in cplus-dem.c in GNU libiberty, as distributed in GNU…
Priority MEDIUM 40CWE-772Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 4 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-772.
Summary
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.
Why it matters now
EPSS 0.04004 90th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 4 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2019:3352 Released 2019-11-05 · Red Hat rating Lowgdb security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) gdb-8.2-6.el8, gdb-doc-8.2-6.el8, gdb-gdbserver-8.2-6.el8 +1
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2019:3352 |
Timeline
- 2026-10-02 Threatist record created from CVE-2018-20657
- 2026-10-03 Alias added: GHSA-qhfg-hc2h-mmfc
References
Sources
- CVE-2018-20657 · CVE Program
- CVE-2018-20657 · NVD
- FIRST EPSS
- GHSA-qhfg-hc2h-mmfc · GitHub Advisory Database · CC BY 4.0
- CVE-2018-20657 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences