CVE-2018-20673
publishedlibiberty: Integer overflow in demangle_template() function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| AlmaLinux | 8 | cpp | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| Oracle Linux | 8 | cppaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Red Hat Enterprise Linux | RHEL-8 | cppaarch64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| AlmaLinux | 8 | gcc | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| AlmaLinux | 8 | gcc-c++ | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| AlmaLinux | 8 | gcc-gdb-plugin | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| AlmaLinux | 8 | gcc-gfortran | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | gcc-offload-nvptx | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| AlmaLinux | 8 | gcc-plugin-devel | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| AlmaLinux | 8 | libitm-devel | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| AlmaLinux | 8 | libquadmath-devel | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| AlmaLinux | 8 | libstdc++-devel | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| AlmaLinux | 8 | libstdc++-docs | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| AlmaLinux | 8 | libstdc++-static | Advisory build | 8.5.0-3.el8.alma | ALSA-2021:4386 |
| Oracle Linux | 8 | cppx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gccaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gccx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gcc-c++aarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gcc-c++x86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gcc-gdb-pluginaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gcc-gdb-pluginx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gcc-gfortranaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gcc-gfortranx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gcc-offload-nvptxx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gcc-plugin-develaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | gcc-plugin-develx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libasanaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libasanx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libatomicaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libatomicx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libatomic-staticaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libatomic-staticx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libgccaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libgccx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libgfortranaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libgfortranx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libgompaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libgompx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libgomp-offload-nvptxx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libitmaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libitmx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libitm-develaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libitm-develx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | liblsanaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | liblsanx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libquadmathx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libquadmath-develx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libstdc++aarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libstdc++x86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libstdc++-develaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libstdc++-develx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libstdc++-docsaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libstdc++-docsx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libstdc++-staticaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libstdc++-staticx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libtsanaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libtsanx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libubsanaarch64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Oracle Linux | 8 | libubsanx86_64 | Advisory build | 0:8.5.0-3.0.2.el8 | ELSA-2021-4386 |
| Red Hat Enterprise Linux | RHEL-8 | cppppc64le | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | cpps390x | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | cppx86_64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | cpp-debuginfoaarch64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | cpp-debuginfoi686 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | cpp-debuginfoppc64le | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | cpp-debuginfos390x | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | cpp-debuginfox86_64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gccaarch64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gccppc64le | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gccs390x | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gccsrc | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gccx86_64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-c++aarch64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-c++ppc64le | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-c++s390x | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-c++x86_64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-c++-debuginfoaarch64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-c++-debuginfoi686 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-c++-debuginfoppc64le | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-c++-debuginfos390x | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-c++-debuginfox86_64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debuginfoaarch64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debuginfoi686 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debuginfoppc64le | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debuginfos390x | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debuginfox86_64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debugsourceaarch64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debugsourcei686 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debugsourceppc64le | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debugsources390x | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-debugsourcex86_64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-gdb-pluginaarch64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-gdb-plugini686 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-gdb-pluginppc64le | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-gdb-plugins390x | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-gdb-pluginx86_64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-gdb-plugin-debuginfoaarch64 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-gdb-plugin-debuginfoi686 | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-gdb-plugin-debuginfoppc64le | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
| Red Hat Enterprise Linux | RHEL-8 | gcc-gdb-plugin-debuginfos390x | Advisory build | 8.5.0-3.el8 | RHSA-2021:4386 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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 values") that can trigger a heap-based buffer overflow, as demonstrated by nm.
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
2- 106454 http://www.securityfocus.com/bid/106454
- https://sourceware.org/bugzilla/show_bug.cgi?id=24039
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 48d695b79a80ec4c922f1437ff935df4234246e6b79368894a99a8f00d0117cc
- Ingested
- 23 Sep 2026, 07:44:24 UTC
- Source record
- Official CVE record