CVE-2015-5276: Infoleak

Published Sep 14, 2015
·
Updated

It was discovered that the std::randomdevice class in libstdc++ would not properly detect short reads and could return return predictable values if applications used it to obtain randomness from a blocking source such as /dev/random.

Other sources

The std::randomdevice 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.

MITRE

Affected Software

1 affected component
GNU gcc<4.9.4

Event History

Sep 14, 2015
Data Sourced
01:26 PM
DescriptionSeverityAffected Software
Nov 17, 2015
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2015-5276?

CVE-2015-5276 has been rated as moderate severity due to potential predictability in random number generation.

2

How do I fix CVE-2015-5276?

To fix CVE-2015-5276, upgrade to a version of the GNU Compiler Collection (GCC) later than 4.9.4.

3

What systems are affected by CVE-2015-5276?

CVE-2015-5276 affects versions of the GNU Compiler Collection (GCC) up to and including 4.9.4.

4

What does CVE-2015-5276 affect in libstdc++?

CVE-2015-5276 affects the std::random_device class in libstdc++, allowing predictable values when reading from certain randomness sources.

5

Is CVE-2015-5276 exploitable?

CVE-2015-5276 can be exploited if applications rely on the std::random_device class for secure random value generation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203