CVEfocus › CVE database › CVE-2015-5276

CVE-2015-5276

EPSS 2.9% (higher than 87% of CVEs)Published 2015-11-17Updated 2024-08-06Assigner: redhat

The std::random_device class in libstdc++ in the GNU Compiler Collection (aka GCC) before 4.9.4 does not properly handle short reads from blocking sources, which makes it easier for context-dependent attackers to predict the random values via unspecified vectors.

What to do

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

35Fix pending
64Will not fix
70Not 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.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-snapshotNot affected
vulnerable_code_not_present
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-snapshotNot affected
vulnerable_code_not_present
Ubuntu 24.04gcc-3.3Not affected
vulnerable_code_not_present
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-snapshotNot affected
vulnerable_code_not_present
Ubuntu 22.04gcc-3.3Not affected
vulnerable_code_not_present
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-msp430Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 22.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 22.04gcc-snapshotNot affected
vulnerable_code_not_present
Ubuntu 20.04gcc-3.3Not affected
vulnerable_code_not_present
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-msp430Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 20.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 20.04gcc-snapshotNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-3.3Not affected
vulnerable_code_not_present
Ubuntu 18.04gcc-4.8Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 18.04gcc-5Not affected
vulnerable_code_not_present
Ubuntu 18.04gcc-arm-none-eabiNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-avrNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-defaultsNot affected
vulnerable_code_not_present
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-msp430Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 18.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 18.04gcc-snapshotNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-3.3Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-4.7Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-4.7-armel-crossFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-4.7-armhf-crossFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-4.8Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-4.8-arm64-crossFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-4.8-armhf-crossFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-4.8-powerpc-crossFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-4.8-ppc64el-crossFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-4.9Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-5Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-arm-linux-androideabiFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-arm-none-eabiFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-avrFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-defaultsNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-h8300-hmsNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-i686-linux-androidFix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-m68hc1xNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-mingw-w64Not affected
vulnerable_code_not_present
Ubuntu 16.04gcc-msp430Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 16.04gcc-optNot affected
vulnerable_code_not_present
Ubuntu 16.04gcc-snapshotNot affected
vulnerable_code_not_present
Ubuntu 14.04gcc-3.3Not affected
vulnerable_code_not_present
Ubuntu 14.04gcc-4.4Fix pending
Ubuntu 14.04gcc-4.6Fix pending
Ubuntu 14.04gcc-4.7Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 14.04gcc-4.7-armel-crossFix pending
Ubuntu 14.04gcc-4.7-armhf-crossFix pending
Ubuntu 14.04gcc-4.8Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 14.04gcc-4.8-arm64-crossFix pending
Ubuntu 14.04gcc-4.8-armhf-crossFix pending
Ubuntu 14.04gcc-4.8-powerpc-crossFix pending
Ubuntu 14.04gcc-4.8-ppc64el-crossFix pending
Ubuntu 14.04gcc-arm-linux-androideabiFix pending
Ubuntu 14.04gcc-arm-none-eabiFix pending
Ubuntu 14.04gcc-avrFix pending
Ubuntu 14.04gcc-defaultsNot affected
vulnerable_code_not_present
Ubuntu 14.04gcc-defaults-arm64-crossNot affected
vulnerable_code_not_present
Ubuntu 14.04gcc-defaults-armel-crossNot affected
vulnerable_code_not_present
Ubuntu 14.04gcc-defaults-armhf-crossNot affected
vulnerable_code_not_present
Ubuntu 14.04gcc-defaults-powerpc-crossNot affected
vulnerable_code_not_present
Ubuntu 14.04gcc-defaults-ppc64el-crossNot affected
vulnerable_code_not_present
Ubuntu 14.04gcc-h8300-hmsNot affected
vulnerable_code_not_present
Ubuntu 14.04gcc-i686-linux-androidFix pending
Ubuntu 14.04gcc-m68hc1xNot affected
vulnerable_code_not_present
Ubuntu 14.04gcc-mingw-w64Fix pendingUBUNTU-CVE-2015-5276
Ubuntu 14.04gcc-msp430Fix pending
Ubuntu 14.04gcc-optFix pending
Ubuntu 14.04gcc-snapshotFix pending
Ubuntu 14.04gccgo-4.9Not affected
vulnerable_code_not_present
Ubuntu 14.04gccgo-goNot affected
vulnerable_code_not_present
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 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 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 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

What the vendor says

As published in the CVE record by redhat, 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.