CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG), published in 2021
Filter
The product uses a Pseudo-Random Number Generator (PRNG) but does not correctly manage seeds.
What the weakness is: CWE-335 at MITRE. OWASP Top 10: A04:2025 Cryptographic Failures. All weaknesses
Ask an AI about CWE-335
Show the prompt
Explain CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/335.html and https://cve.bz/cve/cwe/335?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 9.1CVE-2021-41117keypair project keypairEPSS 3.2%
keypair is a a RSA PEM key generator written in javascript. keypair implements a lot of cryptographic primitives on its own or by borrowing from other libraries where possible, including node-forge. An issue was discovered where this libra…
- 4.6CVE-2021-32033protectimus slim nfc 70 firmwareEPSS 0.5%
Protectimus SLIM NFC 70 10.01 devices allow a Time Traveler attack in which attackers can predict TOTP passwords in certain situations. The time value used by the device can be set independently from the used seed value for generating time…
- 7.5CVE-2020-28597epignosishq efrontEPSS 1.1%
A predictable seed vulnerability exists in the password reset functionality of Epignosis EfrontPro 5.2.21. By predicting the seed it is possible to generate the correct password reset 1-time token. An attacker can visit the password reset …
- 7.5CVE-2021-27211steghide project steghideEPSS 3.4%
steghide 0.5.1 relies on a certain 32-bit seed value, which makes it easier for attackers to detect hidden data.