CWE
200
Advisory Published
CVE Published
Updated

CVE-2015-5276: Infoleak

First published: Mon Sep 14 2015(Updated: )

It was discovered that the std::random_device 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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
GNU Compiler Collection (GCC)<4.9.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203