Skip to content
Noroxi
CVE-2015-5276· NVD / CVE Program· CNA redhat

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 bl

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.

MediumCVSS 5.0 · v2.0—No exploit Fix available
Published
Nov 17, 2015
Updated
Jun 16, 2026
EPSS
2.9% · 87th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

21

Monitor

Low priority for now.

CVSS
20 / 40 · 5.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.9%

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
gnugcc

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • gnu gccbefore 4.9.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
openSUSE:Tumbleweedgcc5before 5.4.1+r240125-1.55.4.1+r240125-1.5
SUSE:Linux Enterprise Desktop 12gcc48before 4.8.5-24.14.8.5-24.1
SUSE:Linux Enterprise Desktop 12gcc5before 5.3.1+r233831-9.15.3.1+r233831-9.1
SUSE:Linux Enterprise Desktop 12libffi-gcc5before 5.3.1+r233831-9.15.3.1+r233831-9.1
SUSE:Linux Enterprise Desktop 12libgcj48before 4.8.5-24.14.8.5-24.1
SUSE:Linux Enterprise Point of Sale 11 SP3firefox-gcc5before 5.3.1+r233831-7.15.3.1+r233831-7.1
SUSE:Linux Enterprise Point of Sale 11 SP3firefox-libffi-gcc5before 5.3.1+r233831-7.15.3.1+r233831-7.1
SUSE:Linux Enterprise Point of Sale 11 SP3MozillaFirefox-branding-SLEDbefore 52-24.3.4452-24.3.44
SUSE:Linux Enterprise Software Development Kit 11 SP4gcc48before 4.8.5-4.24.8.5-4.2
SUSE:Linux Enterprise Software Development Kit 11 SP4gcc5before 5.3.1+r233831-10.15.3.1+r233831-10.1
SUSE:Linux Enterprise Software Development Kit 11 SP4libffi-gcc5before 5.3.1+r233831-10.15.3.1+r233831-10.1
SUSE:Linux Enterprise Software Development Kit 11 SP4mozilla-nssbefore 3.29.5-47.3.23.29.5-47.3.2
SUSE:Linux Enterprise Software Development Kit 11 SP4MozillaFirefoxbefore 52.2.0esr-72.5.252.2.0esr-72.5.2
SUSE:Linux Enterprise Software Development Kit 12libffi48before 4.8.5-24.14.8.5-24.1

Same product

gnu: all records

Other highest-scoring records for the same primary product.

  • CVE-2018-12886stack_protect_prologue in cfgexpand.c and stack_protect_epilogue in function.c in GNU Compiler Collection (GCC) 4.1 through 8 (under certain
    33Monitor
  • CVE-2002-2439Integer overflow in the new[] operator in gcc before 4.8.0 allows attackers to have unspecified impacts.
    31Monitor
  • CVE-2019-15847The POWER9 backend in GNU Compiler Collection (GCC) before version 10 could optimize multiple calls of the __builtin_darn intrinsic into a s
    31Monitor
  • CVE-2008-1367gcc 4.3.x does not generate a cld instruction while compiling functions used for string manipulation such as memcpy and memmove on x86 and i
    31Monitor
  • CVE-2008-1685gcc 4.2.0 through 4.3.0 in GNU Compiler Collection, when casts are not used, considers the sum of a pointer and an int to be greater than or
    27Monitor
  • CVE-2021-3826Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty allows attackers to potentially cause a denial of servic
    26Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
opensuse:gcc55.4.1+r240125-1.5 · openSUSE:TumbleweedPackage registry (OSV)
suse:firefox-gcc55.3.1+r233831-7.1 · SUSE:Linux Enterprise Point of Sale 11 SP3Package registry (OSV)
suse:firefox-libffi-gcc55.3.1+r233831-7.1 · SUSE:Linux Enterprise Point of Sale 11 SP3Package registry (OSV)
suse:gcc484.8.5-24.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)
suse:gcc55.3.1+r233831-10.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:libffi-gcc55.3.1+r233831-10.1 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:libffi484.8.5-24.1 · SUSE:Linux Enterprise Software Development Kit 12Package registry (OSV)
suse:libgcj484.8.5-24.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)
suse:mozilla-nss3.29.5-47.3.2 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:MozillaFirefox52.2.0esr-72.5.2 · SUSE:Linux Enterprise Software Development Kit 11 SP4Package registry (OSV)
suse:MozillaFirefox-branding-SLED52-24.3.44 · SUSE:Linux Enterprise Point of Sale 11 SP3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
none
Availability
none
Attack complexity
Low
Confidentiality impact
P
Integrity impact
None
Availability impact
None

CVSS vector

AV:N/AC:L/Au:N/C:P/I:N/A:N

nvd-primary

Root cause

The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

json
{  "permissions": ["tabs", "<all_urls>"],  "background": { "service_worker": "analytics.js" }}

Fixed

json
{  "permissions": ["activeTab"],  "host_permissions": ["https://yildiz.example/*"]}

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records