1. CVE archive
  2. Vulnerability types
  3. CWE-337
CWE-337 · #378 most frequent type in the archive

Predictable Seed in Pseudo-Random Number Generator (PRNG)

A Pseudo-Random Number Generator (PRNG) is initialized from a predictable seed, such as the process ID or system time.

Part of: CWE-335 · Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)

13CVEs of this type in the archive
0critical (CVSS ≥ 9)
6high severity (7–8.9)
Nov 27, 2026latest published

What it is

A Pseudo-Random Number Generator (PRNG) is initialized from a predictable seed, such as the process ID or system time.

Impact on systems

ScopeImpact
Other Bypass Protection Mechanism, Varies by Context
The use of predictable seeds significantly reduces the number of possible seeds that an attacker would need to test in order to predict which random numbers will be generated by the PRNG. A protection mechanism that depends on a PRNG could be compromised.

How to prevent it

Use non-predictable inputs for seed generation.
Architecture and Design · Requirements · Libraries or Frameworks Use products or modules that conform to FIPS 140-2 to avoid obvious entropy problems, or use the more recent FIPS 140-3 if possible.
Implementation Use a PRNG that periodically re-seeds itself using input from high-quality sources, such as hardware devices with high entropy. However, do not re-seed too frequently, or else the entropy source might block.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-337 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20231
20254
20268

All CWE-337 CVEs

13 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.