What’s Vulnerable › Vulnerabilities
CVE-2015-5276
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2015-11-17 · updated 2026-06-17
- Weakness: CWE-200
Description
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.
Affected products
- GNU GCC: before 4.9.4 — fixed in 4.9.4
How to fix
Upgrade to a fixed version: GNU GCC 4.9.4. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-updates/2015-11/msg00054.html
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00052.html
- http://www.securitytracker.com/id/1034375
- https://bugzilla.redhat.com/show_bug.cgi?id=1262846
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65142
- http://lists.opensuse.org/opensuse-updates/2015-11/msg00054.html
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00052.html
- http://www.securitytracker.com/id/1034375
- https://bugzilla.redhat.com/show_bug.cgi?id=1262846
- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65142
Get alerted when CVE-2015-5276 or the next vulnerability affects your stack