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

Insufficient Entropy in PRNG

The lack of entropy available for, or used by, a Pseudo-Random Number Generator (PRNG) can be a stability and security threat.

Part of: CWE-331 · Insufficient Entropy

9CVEs of this type in the archive
1critical (CVSS ≥ 9)
6high severity (7–8.9)
May 14, 2026latest published

What it is

The lack of entropy available for, or used by, a Pseudo-Random Number Generator (PRNG) can be a stability and security threat.

Impact on systems

ScopeImpact
Availability DoS: Crash, Exit, or Restart
If a pseudo-random number generator is using a limited entropy source which runs out (if the generator fails closed), the program may pause or crash.
Access Control, Other Bypass Protection Mechanism, Other
If a PRNG is using a limited entropy source which runs out, and the generator fails open, the generator could produce predictable random numbers. Potentially a weak source of random numbers could weaken the encryption method used for authentication of users.

How to prevent it

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 Consider a PRNG that re-seeds itself as needed from high-quality pseudo-random output, such as hardware devices.
Architecture and Design When deciding which PRNG to use, look at its sources of entropy. Depending on what your security needs are, you may need to use a random number generator that always uses strong random data -- i.e., a random number generator that attempts to be strong but will fail in a weak way or will always provide some middle ground of protection through techniques like re-seeding. Generally, something that always provides a predictable amount of strength is preferable.

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

CWE-332 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20141
20161
20172
20181
20193
20261

All CWE-332 CVEs

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