CVE Database›Document archive›CVE-2015-5276

CVE-2015-5276

gcc: Predictable randomness from std::random_device

Loading…

Severity

Low

Red Hat Product Security

3.3

CVSS 2.0

Review impact separately from score.

Published · February 20, 2015

Updated · February 26, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 2.0 · 3.3
AV:L/AC:M/Au:N/C:P/I:P/A:N

CWE-1241 · Use of Predictable Algorithm in Random Number Generator