CVE-2018-20673
Fixed in a distro release EPSS 2%
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.
Products: gnu binutils
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | cpp | 8.5.0-3.el8.alma |
| AlmaLinux 8 | gcc | 8.5.0-3.el8.alma |
| AlmaLinux 8 | gcc-c++ | 8.5.0-3.el8.alma |
| AlmaLinux 8 | gcc-gdb-plugin | 8.5.0-3.el8.alma |
| AlmaLinux 8 | gcc-gfortran | 8.5.0-3.el8.alma |
| AlmaLinux 8 | gcc-offload-nvptx | 8.5.0-3.el8.alma |
| AlmaLinux 8 | gcc-plugin-devel | 8.5.0-3.el8.alma |
| AlmaLinux 8 | libitm-devel | 8.5.0-3.el8.alma |
| AlmaLinux 8 | libquadmath-devel | 8.5.0-3.el8.alma |
| AlmaLinux 8 | libstdc++-devel | 8.5.0-3.el8.alma |
| AlmaLinux 8 | libstdc++-docs | 8.5.0-3.el8.alma |
| AlmaLinux 8 | libstdc++-static | 8.5.0-3.el8.alma |
| Debian 12 | binutils | no fix |
| Debian 13 | binutils | no fix |
| Debian 14 | binutils | no fix |
| Red Hat Enterprise Linux 8 | cpp | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | cpp-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-c++ | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-c++-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-debugsource | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-gdb-plugin | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-gdb-plugin-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-gfortran | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-gfortran-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-offload-nvptx | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-offload-nvptx-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-plugin-devel | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | gcc-plugin-devel-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libasan | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libasan-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libatomic | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libatomic-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libatomic-static | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libgcc | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libgcc-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libgfortran | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libgfortran-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libgomp | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libgomp-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libgomp-offload-nvptx | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libgomp-offload-nvptx-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libitm | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libitm-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libitm-devel | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | liblsan | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | liblsan-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libquadmath | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libquadmath-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libquadmath-devel | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libstdc++ | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libstdc++-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libstdc++-devel | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libstdc++-docs | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libstdc++-static | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libtsan | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libtsan-debuginfo | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libubsan | 0:8.5.0-3.el8 |
| Red Hat Enterprise Linux 8 | libubsan-debuginfo | 0:8.5.0-3.el8 |
| Rocky Linux 8 | gcc | 0:8.5.0-3.el8 |
| Ubuntu Pro 14.04 LTS | binutils | no fix |
| Ubuntu Pro 16.04 LTS | binutils | no fix |
| Ubuntu Pro 18.04 LTS | binutils | no fix |