CWE-336Same Seed in Pseudo-Random Number Generator (PRNG)

PUBLISHEDweakness record
released 2006-07-19 · last modified 2025-12-11

Metadata

CWE ID:
CWE-336
摘要:
Variant
结构:
Simple
状态:
Draft
发布日期:
2006-07-19
更新日期:
2025-12-11

名称

Same Seed in Pseudo-Random Number Generator (PRNG)

描述

A Pseudo-Random Number Generator (PRNG) uses the same seed each time the product is initialized.

Given the deterministic nature of PRNGs, using the same seed for each initialization will lead to the same output in the same order. If an attacker can guess (or knows) the seed, then the attacker may be able to determine the random numbers that will be produced from the PRNG.

常见后果

范围:
Other, Access Control
影响:
Other, Bypass Protection Mechanism

相关 CWE