CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG), published in 2026
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
- 6.0CVE-2025-29941amdEPSS 0.1%
Incorrect usage of seeds in pseudo-random number generator in the Secure Encrypted Virtualization (SEV) firmware could allow a malicious hypervisor or migration agent to import a forged guest context potentially resulting in loss of confid…
- 7.3CVE-2026-118765randombit botanEPSS 0.2%
Botan is a C++ cryptography library. From 3.7.0 until 3.13.0, an application that calls AutoSeeded_RNG::clear() and then calls randomize with an empty output buffer while the generator is unseeded can cause AutoSeeded_RNG to mark itself se…
- 2.1CVE-2026-11730netgearEPSS 0.3%
Insufficient session randomness vulnerability in the listed NETGEAR Extender models allows a network-adjacent attacker having network access (such as WiFi credentials) to predict valid session identifiers and hijack an authenticated admini…
- 7.5CVE-2026-11702davido bytes random secure tinyEPSS 0.5%
Bytes::Random::Secure::Tiny versions through 1.011 for Perl share internal state across forked processes. When an object is initialised before forking, then the internal state for the PRNG is shared across processes and identical random s…
- 7.5CVE-2026-11625davido bytes random secureEPSS 0.5%
Bytes::Random::Secure versions through 0.29 for Perl share internal state across forked processes. When an object is initialised before forking, or when the functional interface is used, then the internal state for the PRNG is shared acro…
- 7.5CVE-2026-41564dcit cryptxEPSS 0.5%
CryptX versions before 0.088 for Perl do not reseed the Crypt::PK PRNG state after forking. The Crypt::PK::RSA, Crypt::PK::DSA, Crypt::PK::DH, Crypt::PK::ECC, Crypt::PK::Ed25519 and Crypt::PK::X25519 modules seed a per-object PRNG state i…
- 7.7CVE-2026-25835EPSS 0.2%
Mbed TLS before 3.6.6 and TF-PSA-Crypto before 1.1.0 misuse seeds in a Pseudo-Random Number Generator (PRNG).
- 4.3CVE-2026-3503wolfsslEPSS 0.2%
Protection mechanism failure in wolfCrypt post-quantum implementations (ML-KEM and ML-DSA) in wolfSSL on ARM Cortex-M microcontrollers allows a physical attacker to compromise key material and/or cryptographic outcomes via induced transien…