CWE-1204—Generation of Weak Initialization Vector (IV)
PUBLISHEDweakness record
released 2021-03-15 · last modified 2025-12-11
Metadata
Weakness Name
Generation of Weak Initialization Vector (IV)
Description
The product uses a cryptographic primitive that uses an Initialization Vector (IV), but the product does not generate IVs that are sufficiently unpredictable or unique according to the expected cryptographic requirements for that primitive.
By design, some cryptographic primitives (such as block ciphers) require that IVs must have certain properties for the uniqueness and/or unpredictability of an IV. Primitives may vary in how important these properties are. If these properties are not maintained, e.g. by a bug in the code, then the cryptography may be weakened or broken by attacking the IVs themselves.