CVE-2015-5276 json
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 b…
published 2015-11-17 10 y ago modified 2026-06-17 4 mo ago also EUVD-2015-5255
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- gnu gcc 4.9.4
- mozilla-nss SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 3.29.5-47.3.2
- firefox-gcc5 SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +2 more 5.3.1+r233831-7.1
- MozillaFirefox SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +3 more 52.2.0esr-72.5.2
- firefox-libffi-gcc5 SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +2 more 5.3.1+r233831-7.1
- MozillaFirefox-branding-SLED SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +2 more 52-24.3.44
- gcc48 SLE Software Development Kit 11 SP4 4.8.5-4.2
- gcc5 SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +5 more 5.3.1+r233831-9.1
- libffi-gcc5 SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +4 more 5.3.1+r233831-9.1
suse advisories SUSE-SU-2017:2235-1SUSE-SU-2017:0379-1SUSE-SU-2016:0963-1SUSE-SU-2016:0908-2SUSE-SU-2015:1833-1
- gcc5 openSUSE Tumbleweed 5.4.1+r240125-1.5
opensuse advisories openSUSE-SU-2024:10542-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-5276 updated cvss 3.3
gcc: Predictable randomness from std::random_device
-
Red Hat Enterprise Linux 6 cpp, gcc, libgcc, libgcj, libitm, gcc-c++, +14 more Red Hat Enterprise Linux 7 cpp, gcc, libgo, gcc-go, libgcc, libitm, +15 moreaffected: no fix planned “Will not fix”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.94% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
lists.opensuse.org
/opensuse-updates/2015-11/msg00054.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2016-04/msg00052.html
vendor-advisory, mailing-list, third-party-advisory
-
gcc.gnu.org
/bugzilla/show_bug.cgi?id=65142
issue-tracking, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1262846
issue-tracking, third-party-advisory
-
securitytracker.com
/id/1034375
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2015-5276
- NVD CVE-2015-5276
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.