GCM Nonce Reuse
A critical vulnerability where reusing a nonce with the same key in AES-GCM encryption completely breaks confidentiality and authentication.
GCM Nonce Reuse is a catastrophic cryptographic failure where the same nonce (number used once) is used twice with the same key in AES-GCM encryption. This completely breaks both confidentiality and authentication guarantees.
Why It's Critical
AES-GCM generates a keystream by encrypting counter values. If the same nonce is reused, the same keystream is generated. XORing two ciphertexts with the same keystream reveals the XOR of the plaintexts.
Prevention
- Use deterministic nonce construction (counter + random prefix)
- Never use random-only nonces at scale
- Consider AES-GCM-SIV (nonce-misuse resistant)
- Track used nonces to detect reuse
- Rotate keys before nonce space exhaustion