CWE-340: Generation of Predictable Numbers or Identifiers
The product uses a scheme that generates numbers or identifiers that are more predictable than required.
Last updated
Overview
CWE-340 (Generation of Predictable Numbers or Identifiers) is a class-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
49 recorded CVEs are caused by CWE-340 (Generation of Predictable Numbers or Identifiers), including 1 in CISA's KEV (Known Exploited Vulnerabilities) catalog. KEVs are shown first. 29 new CWE-340 CVEs have been recorded so far in 2026 (14 in 2025).