CVEfocus › CVE database › CVE-2018-20673

CVE-2018-20673

EPSS 1.6% (higher than 77% of CVEs)Published 2019-01-04Updated 2024-08-05Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

38Fixed
2Fix pending
83Will not fix
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04binutilsNot affected
vulnerable_code_not_present
Ubuntu 18.04binutilsFix pendingUBUNTU-CVE-2018-20673
Ubuntu 16.04binutilsWill not fix
code was removed in 2.32, see bug for more info provided patch removes functionality for versions before 2.32. See gcc bug for more information.
UBUNTU-CVE-2018-20673
Ubuntu 14.04binutilsFix pendingUBUNTU-CVE-2018-20673
Debian 14binutilsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-20673
Debian 13binutilsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-20673
Debian 12binutilsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-20673
Red Hat Enterprise Linux 8binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 8binutils-develWill not fix
Will not fix
Red Hat Enterprise Linux 8cppFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8gccFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8gcc-c++Fixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8gcc-gdb-pluginFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8gcc-gfortranFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8gcc-offload-nvptxFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8gcc-plugin-develFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8gdbNot affected
Red Hat Enterprise Linux 8gdb-docNot affected
Red Hat Enterprise Linux 8gdb-gdbserverNot affected
Red Hat Enterprise Linux 8gdb-headlessNot affected
Red Hat Enterprise Linux 8libasanFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libatomicFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libatomic-staticFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libgccFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libgfortranFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libgompFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libgomp-offload-nvptxFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libitmFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libitm-develFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8liblsanFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libquadmathFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libquadmath-develFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libstdc++Fixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libstdc++-develFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libstdc++-docsFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libstdc++-staticFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libtsanFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8libubsanFixed0:8.5.0-3.el8RHSA-2021:4386
Red Hat Enterprise Linux 8mingw-binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 8mingw-binutils-genericWill not fix
Will not fix
Red Hat Enterprise Linux 8mingw32-binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 8mingw64-binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 7binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 7binutils-develWill not fix
Will not fix
Red Hat Enterprise Linux 7cppWill not fix
Will not fix
Red Hat Enterprise Linux 7gccWill not fix
Will not fix
Red Hat Enterprise Linux 7gcc-c++Will not fix
Will not fix
Red Hat Enterprise Linux 7gcc-gfortranWill not fix
Will not fix
Red Hat Enterprise Linux 7gcc-gnatWill not fix
Will not fix
Red Hat Enterprise Linux 7gcc-goWill not fix
Will not fix
Red Hat Enterprise Linux 7gcc-objcWill not fix
Will not fix
Red Hat Enterprise Linux 7gcc-objc++Will not fix
Will not fix
Red Hat Enterprise Linux 7gcc-plugin-develWill not fix
Will not fix
Red Hat Enterprise Linux 7gdbNot affected
Red Hat Enterprise Linux 7gdb-docNot affected
Red Hat Enterprise Linux 7gdb-gdbserverNot affected
Red Hat Enterprise Linux 7libasanWill not fix
Will not fix
Red Hat Enterprise Linux 7libasan-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libatomicWill not fix
Will not fix
Red Hat Enterprise Linux 7libatomic-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libgccWill not fix
Will not fix
Red Hat Enterprise Linux 7libgfortranWill not fix
Will not fix
Red Hat Enterprise Linux 7libgfortran-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libgnatWill not fix
Will not fix
Red Hat Enterprise Linux 7libgnat-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libgnat-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libgoWill not fix
Will not fix
Red Hat Enterprise Linux 7libgo-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libgo-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libgompWill not fix
Will not fix
Red Hat Enterprise Linux 7libitmWill not fix
Will not fix
Red Hat Enterprise Linux 7libitm-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libitm-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libmudflapWill not fix
Will not fix
Red Hat Enterprise Linux 7libmudflap-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libmudflap-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libobjcWill not fix
Will not fix
Red Hat Enterprise Linux 7libquadmathWill not fix
Will not fix
Red Hat Enterprise Linux 7libquadmath-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libquadmath-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libstdc++Will not fix
Will not fix
Red Hat Enterprise Linux 7libstdc++-develWill not fix
Will not fix
Red Hat Enterprise Linux 7libstdc++-docsWill not fix
Will not fix
Red Hat Enterprise Linux 7libstdc++-staticWill not fix
Will not fix
Red Hat Enterprise Linux 7libtsanWill not fix
Will not fix
Red Hat Enterprise Linux 7libtsan-staticWill not fix
Will not fix
Red Hat Enterprise Linux 6binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 6binutils-develWill not fix
Will not fix
Red Hat Enterprise Linux 6cppWill not fix
Will not fix
Red Hat Enterprise Linux 6gccWill not fix
Will not fix
Red Hat Enterprise Linux 6gcc-c++Will not fix
Will not fix
Red Hat Enterprise Linux 6gcc-gfortranWill not fix
Will not fix
Red Hat Enterprise Linux 6gcc-gnatWill not fix
Will not fix
Red Hat Enterprise Linux 6gcc-javaWill not fix
Will not fix
Red Hat Enterprise Linux 6gcc-objcWill not fix
Will not fix
Red Hat Enterprise Linux 6gcc-objc++Will not fix
Will not fix
Red Hat Enterprise Linux 6gdbWill not fix
Will not fix
Red Hat Enterprise Linux 6gdb-gdbserverWill not fix
Will not fix
Red Hat Enterprise Linux 6libatomicWill not fix
Will not fix
Red Hat Enterprise Linux 6libgccWill not fix
Will not fix
Red Hat Enterprise Linux 6libgcjWill not fix
Will not fix
Red Hat Enterprise Linux 6libgcj-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libgcj-srcWill not fix
Will not fix
Red Hat Enterprise Linux 6libgfortranWill not fix
Will not fix
Red Hat Enterprise Linux 6libgnatWill not fix
Will not fix
Red Hat Enterprise Linux 6libgnat-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libgompWill not fix
Will not fix
Red Hat Enterprise Linux 6libitmWill not fix
Will not fix
Red Hat Enterprise Linux 6libmudflapWill not fix
Will not fix
Red Hat Enterprise Linux 6libmudflap-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libobjcWill not fix
Will not fix
Red Hat Enterprise Linux 6libquadmathWill not fix
Will not fix
Red Hat Enterprise Linux 6libstdc++Will not fix
Will not fix
Red Hat Enterprise Linux 6libstdc++-develWill not fix
Will not fix
Red Hat Enterprise Linux 6libstdc++-docsWill not fix
Will not fix
Red Hat Enterprise Linux 5binutilsWill not fix
Will not fix
Red Hat Enterprise Linux 5gccWill not fix
Will not fix
Red Hat Enterprise Linux 5gdbWill not fix
Will not fix
AlmaLinux 8cppFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8gccFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8gcc-c++Fixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8gcc-gdb-pluginFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8gcc-gfortranFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8gcc-offload-nvptxFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8gcc-plugin-develFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8libitm-develFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8libquadmath-develFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8libstdc++-develFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8libstdc++-docsFixed8.5.0-3.el8.almaALSA-2021:4386
AlmaLinux 8libstdc++-staticFixed8.5.0-3.el8.almaALSA-2021:4386
Rocky Linux 8gccFixed0:8.5.0-3.el8RLSA-2021:4386

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.