CVE-2018-20657
publishedlibiberty: Memory leak in demangle_template function resulting in a denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Oracle Linux | 8 | gdbaarch64 | Advisory build | 0:8.2-6.el8 | ELSA-2019-3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdbaarch64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Oracle Linux | 8 | gdbx86_64 | Advisory build | 0:8.2-6.el8 | ELSA-2019-3352 |
| Oracle Linux | 8 | gdb-docaarch64 | Advisory build | 0:8.2-6.el8 | ELSA-2019-3352 |
| Oracle Linux | 8 | gdb-docx86_64 | Advisory build | 0:8.2-6.el8 | ELSA-2019-3352 |
| Oracle Linux | 8 | gdb-gdbserveraarch64 | Advisory build | 0:8.2-6.el8 | ELSA-2019-3352 |
| Oracle Linux | 8 | gdb-gdbserverx86_64 | Advisory build | 0:8.2-6.el8 | ELSA-2019-3352 |
Show 23 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | gdb-headlessaarch64 | Advisory build | 0:8.2-6.el8 | ELSA-2019-3352 |
| Oracle Linux | 8 | gdb-headlessx86_64 | Advisory build | 0:8.2-6.el8 | ELSA-2019-3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdbppc64le | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdbs390x | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdbsrc | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdbx86_64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-debuginfoaarch64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-debuginfoppc64le | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-debuginfos390x | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-debuginfox86_64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-debugsourceaarch64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-debugsourceppc64le | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-debugsources390x | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-debugsourcex86_64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-docnoarch | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-gdbserveraarch64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-gdbserverppc64le | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-gdbservers390x | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-gdbserverx86_64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-headlessaarch64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-headlessppc64le | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-headlesss390x | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
| Red Hat Enterprise Linux | RHEL-8 | gdb-headlessx86_64 | Advisory build | 8.2-6.el8 | RHSA-2019:3352 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- 106444 http://www.securityfocus.com/bid/106444
- RHSA-2019:3352 https://access.redhat.com/errata/RHSA-2019:3352
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88539
- https://support.f5.com/csp/article/K62602089
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 76bda02aad5754160a3aa81430efe667cf69f97a204428225deda742e2164991
- Ingested
- 23 Sep 2026, 07:44:24 UTC
- Source record
- Official CVE record