cve.bz

CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG), published in 2024

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 promptExplain 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

  1. 6.6CVE-2024-55566EPSS 0.3%

    ColPack 1.0.10 through 9a7293a has a predictable temporary file (located under /tmp with a name derived from an unseeded RNG). The impact can be overwriting files or making ColPack graphing unavailable to other users.

  2. 6.4CVE-2024-9312canonical authdEPSS 0.3%

    Authd, through version 0.3.6, did not sufficiently randomize user IDs to prevent collisions. A local attacker who can register user names could spoof another user's ID and gain their privileges.

  3. 8.0CVE-2024-7558canonical jujuEPSS 0.5%

    JUJU_CONTEXT_ID is a predictable authentication secret. On a Juju machine (non-Kubernetes) or Juju charm container (on Kubernetes), an unprivileged user in the same network namespace can connect to an abstract domain socket and guess the J…

  4. 9.8CVE-2024-36048EPSS 1.9%

    QAbstractOAuth in Qt Network Authorization in Qt before 5.15.17, 6.x before 6.2.13, 6.3.x through 6.5.x before 6.5.6, and 6.6.x through 6.7.x before 6.7.1 uses only the time to seed the PRNG, which may result in guessable values.

  5. 8.1CVE-2024-1579secomea gatemanagerEPSS 0.7%

    Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) vulnerability in Secomea GateManager (Webserver modules) allows Session Hijacking.This issue affects GateManager: before 11.2.624071020.

  6. 8.8CVE-2024-27632gnu savaneEPSS 1.5%

    An issue in GNU Savane v.3.12 and before allows a remote attacker to escalate privileges via the form_id in the form_header() function.

  7. 9.8CVE-2023-4472objectplanet opinioEPSS 0.9%

    Objectplanet Opinio version 7.22 and prior uses a cryptographically weak pseudo-random number generator (PRNG) coupled to a predictable seed, which could lead to an unauthenticated account takeover of any user on the application.