CVEfocus › CVE database › CVE-2018-20712

CVE-2018-20712

CVSS 6.5 MediumEPSS 2.6% (higher than 86% of CVEs)Published 2019-01-15Updated 2024-08-05Assigner: mitre

A heap-based buffer over-read exists in the function d_expression_1 in cp-demangle.c in GNU libiberty, as distributed in GNU Binutils 2.31.1. A crafted input can cause segmentation faults, leading to denial-of-service, as demonstrated by c++filt.

What to do

Fixed builds are available from Alpine: 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

17Fixed
2Fix pending
3Will not fix
116Not 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 26.04libibertyNot affected
vulnerable_code_not_present
Ubuntu 25.10libibertyNot affected
vulnerable_code_not_present
Ubuntu 24.04libibertyNot affected
vulnerable_code_not_present
Ubuntu 22.04libibertyNot affected
vulnerable_code_not_present
Ubuntu 20.04libibertyNot affected
vulnerable_code_not_present
Ubuntu 18.04libibertyNot affected
vulnerable_code_not_present
Ubuntu 16.04libibertyFix pendingUBUNTU-CVE-2018-20712
Ubuntu 14.04libibertyFix pending
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-20712
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-20712
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-20712
Red Hat Enterprise Linux 8binutilsNot affected
Red Hat Enterprise Linux 8binutils-develNot affected
Red Hat Enterprise Linux 8cppNot affected
Red Hat Enterprise Linux 8gccNot affected
Red Hat Enterprise Linux 8gcc-c++Not affected
Red Hat Enterprise Linux 8gcc-gdb-pluginNot affected
Red Hat Enterprise Linux 8gcc-gfortranNot affected
Red Hat Enterprise Linux 8gcc-offload-nvptxNot affected
Red Hat Enterprise Linux 8gcc-plugin-annobinNot affected
Red Hat Enterprise Linux 8gcc-plugin-develNot affected
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 8libasanNot affected
Red Hat Enterprise Linux 8libatomicNot affected
Red Hat Enterprise Linux 8libatomic-staticNot affected
Red Hat Enterprise Linux 8libgccNot affected
Red Hat Enterprise Linux 8libgfortranNot affected
Red Hat Enterprise Linux 8libgfortran-staticNot affected
Red Hat Enterprise Linux 8libgompNot affected
Red Hat Enterprise Linux 8libgomp-offload-nvptxNot affected
Red Hat Enterprise Linux 8libitmNot affected
Red Hat Enterprise Linux 8libitm-develNot affected
Red Hat Enterprise Linux 8liblsanNot affected
Red Hat Enterprise Linux 8libquadmathNot affected
Red Hat Enterprise Linux 8libquadmath-develNot affected
Red Hat Enterprise Linux 8libquadmath-staticNot affected
Red Hat Enterprise Linux 8libstdc++Not affected
Red Hat Enterprise Linux 8libstdc++-develNot affected
Red Hat Enterprise Linux 8libstdc++-docsNot affected
Red Hat Enterprise Linux 8libstdc++-staticNot affected
Red Hat Enterprise Linux 8libtsanNot affected
Red Hat Enterprise Linux 8libubsanNot affected
Red Hat Enterprise Linux 7binutilsNot affected
Red Hat Enterprise Linux 7binutils-develNot affected
Red Hat Enterprise Linux 7cppNot affected
Red Hat Enterprise Linux 7gccNot affected
Red Hat Enterprise Linux 7gcc-c++Not affected
Red Hat Enterprise Linux 7gcc-gfortranNot affected
Red Hat Enterprise Linux 7gcc-gnatNot affected
Red Hat Enterprise Linux 7gcc-goNot affected
Red Hat Enterprise Linux 7gcc-objcNot affected
Red Hat Enterprise Linux 7gcc-objc++Not affected
Red Hat Enterprise Linux 7gcc-plugin-develNot affected
Red Hat Enterprise Linux 7gdbNot affected
Red Hat Enterprise Linux 7gdb-docNot affected
Red Hat Enterprise Linux 7gdb-gdbserverNot affected
Red Hat Enterprise Linux 7libasanNot affected
Red Hat Enterprise Linux 7libasan-staticNot affected
Red Hat Enterprise Linux 7libatomicNot affected
Red Hat Enterprise Linux 7libatomic-staticNot affected
Red Hat Enterprise Linux 7libgccNot affected
Red Hat Enterprise Linux 7libgfortranNot affected
Red Hat Enterprise Linux 7libgfortran-staticNot affected
Red Hat Enterprise Linux 7libgnatNot affected
Red Hat Enterprise Linux 7libgnat-develNot affected
Red Hat Enterprise Linux 7libgnat-staticNot affected
Red Hat Enterprise Linux 7libgoNot affected
Red Hat Enterprise Linux 7libgo-develNot affected
Red Hat Enterprise Linux 7libgo-staticNot affected
Red Hat Enterprise Linux 7libgompNot affected
Red Hat Enterprise Linux 7libitmNot affected
Red Hat Enterprise Linux 7libitm-develNot affected
Red Hat Enterprise Linux 7libitm-staticNot affected
Red Hat Enterprise Linux 7libmudflapNot affected
Red Hat Enterprise Linux 7libmudflap-develNot affected
Red Hat Enterprise Linux 7libmudflap-staticNot affected
Red Hat Enterprise Linux 7libobjcNot affected
Red Hat Enterprise Linux 7libquadmathNot affected
Red Hat Enterprise Linux 7libquadmath-develNot affected
Red Hat Enterprise Linux 7libquadmath-staticNot affected
Red Hat Enterprise Linux 7libstdc++Not affected
Red Hat Enterprise Linux 7libstdc++-develNot affected
Red Hat Enterprise Linux 7libstdc++-docsNot affected
Red Hat Enterprise Linux 7libstdc++-staticNot affected
Red Hat Enterprise Linux 7libtsanNot affected
Red Hat Enterprise Linux 7libtsan-staticNot affected
Red Hat Enterprise Linux 6binutilsNot affected
Red Hat Enterprise Linux 6binutils-develNot affected
Red Hat Enterprise Linux 6cppNot affected
Red Hat Enterprise Linux 6gccNot affected
Red Hat Enterprise Linux 6gcc-c++Not affected
Red Hat Enterprise Linux 6gcc-gfortranNot affected
Red Hat Enterprise Linux 6gcc-gnatNot affected
Red Hat Enterprise Linux 6gcc-javaNot affected
Red Hat Enterprise Linux 6gcc-objcNot affected
Red Hat Enterprise Linux 6gcc-objc++Not affected
Red Hat Enterprise Linux 6gdbNot affected
Red Hat Enterprise Linux 6gdb-gdbserverNot affected
Red Hat Enterprise Linux 6libatomicNot affected
Red Hat Enterprise Linux 6libgccNot affected
Red Hat Enterprise Linux 6libgcjNot affected
Red Hat Enterprise Linux 6libgcj-develNot affected
Red Hat Enterprise Linux 6libgcj-srcNot affected
Red Hat Enterprise Linux 6libgfortranNot affected
Red Hat Enterprise Linux 6libgnatNot affected
Red Hat Enterprise Linux 6libgnat-develNot affected
Red Hat Enterprise Linux 6libgompNot affected
Red Hat Enterprise Linux 6libitmNot affected
Red Hat Enterprise Linux 6libmudflapNot affected
Red Hat Enterprise Linux 6libmudflap-develNot affected
Red Hat Enterprise Linux 6libobjcNot affected
Red Hat Enterprise Linux 6libquadmathNot affected
Red Hat Enterprise Linux 6libstdc++Not affected
Red Hat Enterprise Linux 6libstdc++-develNot affected
Red Hat Enterprise Linux 6libstdc++-docsNot affected
Red Hat Enterprise Linux 5binutilsNot affected
Red Hat Enterprise Linux 5gccNot affected
Red Hat Enterprise Linux 5gdbNot affected
Alpine Linux 3.24binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.23binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.22binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.21binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.20binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.19binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.18binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.17binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.16binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.15binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.14binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.13binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.12binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.12binutils-avrFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.11binutilsFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.11binutils-avrFixed2.32-r0ALPINE-CVE-2018-20712
Alpine Linux 3.10binutilsFixed2.32-r0ALPINE-CVE-2018-20712

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.