CVE-2015-5276

Summary

CVECVE-2015-5276
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2015-11-17 15:59:00 UTC
Updated2019-02-12 19:05:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-200

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Gnu Gcc All All All All
Application Gnu Gcc All All All All

References

ReferenceSourceLinkTags
65142 – (CVE-2015-5276) std::random_device Ignores Read Return Code (CVE-2015-5276) CONFIRM gcc.gnu.org Issue Tracking, Vendor Advisory
GNU Compiler Collection (GCC) std::random_device May Improperly Initialize Randomization Functions - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
Bug 1262846 – CVE-2015-5276 gcc: Predictable randomness from std::random_device CONFIRM bugzilla.redhat.com Issue Tracking, Third Party Advisory
openSUSE-SU-2015:1946-1: moderate: Security update for gcc48 SUSE lists.opensuse.org Mailing List, Third Party Advisory
openSUSE-SU-2016:1069-1: moderate: Security update for gcc5 SUSE lists.opensuse.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report