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

Predictable Value Range from Previous Values

The product's random number generator produces a series of values which, when observed, can be used to infer a relatively small range of possibilities for the next value that could be generated.

Part of: CWE-340 · Generation of Predictable Numbers or Identifiers

3CVEs of this type in the archive
0critical (CVSS ≥ 9)
0high severity (7–8.9)
Mar 20, 2026latest published

What it is

The product's random number generator produces a series of values which, when observed, can be used to infer a relatively small range of possibilities for the next value that could be generated.

Impact on systems

ScopeImpact
Other Varies by Context
In some cases, an attacker cannot predict the exact value that will be produced next, but can narrow down the possibilities significantly. This reduces the amount of effort to perform a brute force attack.

How to prevent it

Architecture and Design · Implementation The output of a random number generator should not be predictable based on observations of previous values.
Implementation Increase the entropy used to seed a PRNG.
Architecture and Design · Requirements · Libraries or Frameworks Use products or modules that conform to FIPS 140-2 to avoid obvious entropy problems. Consult FIPS 140-2 Annex C (Approved Random Number Generators).
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-343 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20151
20262

All CWE-343 CVEs

3 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.