CVEfocus › CVE database › CVE-2019-15847

CVE-2019-15847

CVSS 7.5 HighEPSS 3.2% (higher than 88% of CVEs)Published 2019-09-02Updated 2026-10-14Assigner: mitre

The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a single call, thus reducing the entropy of the random number generator. This occurred because a volatile operation was not specified. For example, within a single execution of a program, the output of every __builtin_darn() call may be the same.

What to do

Fixed builds are available from Alpine, Red Hat, Ubuntu: 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

29Fixed
1Fix pending
5Under investigation
19Will not fix
151Not 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.10gcc-snapshotFix pendingUBUNTU-CVE-2019-15847
Ubuntu 26.04gcc-arm-none-eabiNot affected
vulnerable_code_not_present
Ubuntu 26.04gcc-avrNot affected
vulnerable_code_not_present
Ubuntu 26.04gcc-defaultsNot affected
vulnerable_code_not_present
Ubuntu 26.04gcc-h8300-hmsNot affected
vulnerable_code_not_present
Ubuntu 26.04gcc-mingw-w64Not affected
vulnerable_code_not_present
Ubuntu 26.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 26.04gcc-snapshotUnder investigationUBUNTU-CVE-2019-15847
Ubuntu 25.10gcc-arm-none-eabiNot affected
vulnerable_code_not_present
Ubuntu 25.10gcc-avrNot affected
vulnerable_code_not_present
Ubuntu 25.10gcc-defaultsNot affected
vulnerable_code_not_present
Ubuntu 25.10gcc-h8300-hmsNot affected
vulnerable_code_not_present
Ubuntu 25.10gcc-mingw-w64Not affected
vulnerable_code_not_present
Ubuntu 25.10gcc-optNot affected
vulnerable_code_not_present
Ubuntu 25.10gcc-snapshotWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 24.04gcc-10Not affected
vulnerable_code_not_present
Ubuntu 24.04gcc-3.3Not affected
vulnerable_code_not_present
Ubuntu 24.04gcc-9Not affected
vulnerable_code_not_present
Ubuntu 24.04gcc-9-crossNot affected
vulnerable_code_not_present
Ubuntu 24.04gcc-9-cross-portsUnder investigationUBUNTU-CVE-2019-15847
Ubuntu 24.04gcc-arm-none-eabiNot affected
vulnerable_code_not_present
Ubuntu 24.04gcc-avrNot affected
vulnerable_code_not_present
Ubuntu 24.04gcc-defaultsNot affected
vulnerable_code_not_present
Ubuntu 24.04gcc-h8300-hmsNot affected
vulnerable_code_not_present
Ubuntu 24.04gcc-mingw-w64Not affected
vulnerable_code_not_present
Ubuntu 24.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 24.04gcc-snapshotUnder investigationUBUNTU-CVE-2019-15847
Ubuntu 22.04gcc-10Not affected
vulnerable_code_not_present
Ubuntu 22.04gcc-3.3Not affected
vulnerable_code_not_present
Ubuntu 22.04gcc-9Not affected
vulnerable_code_not_present
Ubuntu 22.04gcc-9-crossNot affected
vulnerable_code_not_present
Ubuntu 22.04gcc-9-cross-portsUnder investigationUBUNTU-CVE-2019-15847
Ubuntu 22.04gcc-arm-none-eabiNot affected
vulnerable_code_not_present
Ubuntu 22.04gcc-avrNot affected
vulnerable_code_not_present
Ubuntu 22.04gcc-defaultsNot affected
vulnerable_code_not_present
Ubuntu 22.04gcc-h8300-hmsNot affected
vulnerable_code_not_present
Ubuntu 22.04gcc-m68hc1xNot affected
vulnerable_code_not_present
Ubuntu 22.04gcc-mingw-w64Not affected
vulnerable_code_not_present
Ubuntu 22.04gcc-msp430Not affected
vulnerable_code_not_present
Ubuntu 22.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 22.04gcc-snapshotUnder investigationUBUNTU-CVE-2019-15847
Ubuntu 20.04gcc-10Fixed10.2.0-5ubuntu1~20.04UBUNTU-CVE-2019-15847
Ubuntu 20.04gcc-3.3Not affected
vulnerable_code_not_present
Ubuntu 20.04gcc-7Not affected
vulnerable_code_not_present
Ubuntu 20.04gcc-8Not affected
vulnerable_code_not_present
Ubuntu 20.04gcc-8-crossWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 20.04gcc-8-cross-portsWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 20.04gcc-9-cross-portsWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 20.04gcc-arm-none-eabiNot affected
vulnerable_code_not_present
Ubuntu 20.04gcc-avrNot affected
vulnerable_code_not_present
Ubuntu 20.04gcc-defaultsNot affected
vulnerable_code_not_present
Ubuntu 20.04gcc-h8300-hmsNot affected
vulnerable_code_not_present
Ubuntu 20.04gcc-m68hc1xNot affected
vulnerable_code_not_present
Ubuntu 20.04gcc-mingw-w64Not affected
vulnerable_code_not_present
Ubuntu 20.04gcc-msp430Not affected
vulnerable_code_not_present
Ubuntu 20.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 20.04gcc-snapshotWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-3.3Not affected
vulnerable_code_not_present
Ubuntu 18.04gcc-4.8Not affected
vulnerable_code_not_present
Ubuntu 18.04gcc-5Not affected
vulnerable_code_not_present
Ubuntu 18.04gcc-5-crossNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-6Will not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-6-crossWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-6-cross-portsWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-7Fixed7.5.0-3ubuntu1~18.04UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-7-crossWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-7-cross-portsWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-8Fixed8.3.0-26ubuntu1~18.04UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-8-crossWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-8-cross-portsWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 18.04gcc-arm-none-eabiNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-avrNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-defaultsWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
Ubuntu 18.04gcc-h8300-hmsNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-m68hc1xNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-mingw-w64Not affected
vulnerable_code_not_present
Ubuntu 18.04gcc-msp430Not affected
vulnerable_code_not_present
Ubuntu 18.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-snapshotWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 16.04gcc-3.3Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.7Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.7-armel-crossNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.7-armhf-crossNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.8Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.8-arm64-crossNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.8-armhf-crossNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.8-powerpc-crossNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.8-ppc64el-crossNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.9Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-5Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-5-crossNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-arm-linux-androideabiNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-arm-none-eabiNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-avrNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-defaultsWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
Ubuntu 16.04gcc-h8300-hmsNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-i686-linux-androidNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-m68hc1xNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-mingw-w64Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-msp430Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-snapshotWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
UBUNTU-CVE-2019-15847
Ubuntu 16.04gccgo-6Will not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
Ubuntu 14.04gcc-3.3Not affected
vulnerable_code_not_present
Ubuntu 14.04gcc-4.7Not affected
vulnerable_code_not_present
Ubuntu 14.04gcc-4.8Will not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
Ubuntu 14.04gcc-defaultsWill not fix
this is part of the power9 ISA, and Ubuntu binaries are built with the power8 ISA, so no binaries in the archive are affected setting priority to negligible…
Ubuntu 14.04gcc-mingw-w64Not affected
vulnerable_code_not_present
Red Hat Enterprise Linux 8cppFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8gccFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8gcc-c++Fixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8gcc-gdb-pluginFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8gcc-gfortranFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8gcc-offload-nvptxFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8gcc-plugin-develFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libasanFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libatomicFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libatomic-staticFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libgccFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libgfortranFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libgompFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libgomp-offload-nvptxFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libitmFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libitm-develFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8liblsanFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libquadmathFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libquadmath-develFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libstdc++Fixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libstdc++-develFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libstdc++-docsFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libstdc++-staticFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libtsanFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8libubsanFixed0:8.3.1-5.el8RHSA-2020:1864
Red Hat Enterprise Linux 8mingw32-cppNot affected
Red Hat Enterprise Linux 8mingw32-gccNot affected
Red Hat Enterprise Linux 8mingw32-gcc-c++Not affected
Red Hat Enterprise Linux 8mingw64-cppNot affected
Red Hat Enterprise Linux 8mingw64-gccNot affected
Red Hat Enterprise Linux 8mingw64-gcc-c++Not 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 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 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 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 5gccNot affected
Alpine Linux 3.11gccFixed9.3.0-r0ALPINE-CVE-2019-15847

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

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.