CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.

183 published CVE records name this weakness. Abstraction: Base. Status: Draft. CWE-338 at MITRE

CVETitleCVSSEPSSPublished
CVE-2025-66565 Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values 9.3 critical 0.50% 9 Dec 2025
CVE-2025-59390 Apache Druid: Kerberos authenticaton chooses a cryptographically unsecure secret if not configured explicitly. 9.8 critical 0.71% 26 Nov 2025
CVE-2025-41731 Jumo: Insufficient entropy in PRNG may lead to root access 7.4 high 0.14% 10 Nov 2025
CVE-2024-58040 Crypt::RandomEncryption for Perl uses insecure rand() function during encryption 9.1 critical 0.25% 29 Sep 2025
CVE-2025-40925 Starch versions 0.14 and earlier generate session ids insecurely 9.1 critical 0.37% 20 Sep 2025
CVE-2025-40933 Apache::AuthAny::Cookie v0.201 or earlier for Perl generates session ids insecurely 7.5 high 0.41% 17 Sep 2025
CVE-2025-40920 Catalyst::Authentication::Credential::HTTP versions 1.018 and earlier for Perl use insecurely generated nonces 8.6 high 0.49% 11 Aug 2025
CVE-2025-54883 Vision UI's security-kit Contains Cryptographic Weakness 9.3 critical 0.42% 5 Aug 2025
CVE-2025-40924 Catalyst::Plugin::Session before version 0.44 for Perl generates session ids insecurely 6.5 medium 0.30% 17 Jul 2025
CVE-2025-40919 Authen::DigestMD5 versions 0.01 through 0.04 for Perl generate the cnonce insecurely 6.5 medium 0.30% 16 Jul 2025
CVE-2025-40918 Authen::SASL::Perl::DIGEST_MD5 versions 2.04 through 2.1800 for Perl generates the cnonce insecurely 6.5 medium 0.46% 16 Jul 2025
CVE-2025-40923 Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely 7.3 high 0.39% 16 Jul 2025
CVE-2025-40916 Mojolicious::Plugin::CaptchaPNG version 1.05 for Perl uses a weak random number source for generating the captcha text 9.1 critical 0.44% 16 Jun 2025
CVE-2025-40915 Mojolicious::Plugin::CSRF 1.03 for Perl uses a weak random number source for generating CSRF tokens 7.0 high 0.29% 11 Jun 2025
CVE-2024-58135 Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default 5.3 medium 0.58% 3 May 2025
CVE-2025-46653 node-formidable Formidable: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 3.1 low 0.48% 26 Apr 2025
CVE-2025-3495 COMMGR - Insufficient Randomization Authentication Bypass 9.8 critical 0.73% 16 Apr 2025
CVE-2025-2814 Crypt::CBC versions between 1.21 and 3.05 for Perl may use insecure rand() function for cryptographic functions 4.0 medium 0.20% 12 Apr 2025
CVE-2025-32755 Jenkins jenkins/ssh-slave Docker images: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 9.1 critical 0.49% 10 Apr 2025
CVE-2025-32754 Jenkins jenkins/ssh-agent Docker images: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 9.1 critical 0.49% 10 Apr 2025
CVE-2024-56370 Net::Xero 0.044 and earlier for Perl uses insecure rand() function for cryptographic functions 6.5 medium 0.36% 5 Apr 2025
CVE-2024-52322 WebService::Xero 0.11 for Perl uses insecure rand() function for cryptographic functions 5.5 medium 0.30% 5 Apr 2025
CVE-2024-57835 Amon2::Auth::Site::LINE versions through 0.04 for Perl uses insecure rand() function for cryptographic functions 5.5 medium 0.29% 5 Apr 2025
CVE-2024-58036 Net::Dropbox::API 1.9 and earlier for Perl uses insecure rand() function for cryptographic functions 5.5 medium 0.30% 5 Apr 2025
CVE-2024-57868 Web::API 2.8 and earlier for Perl uses insecure rand() function for cryptographic functions 5.5 medium 0.31% 5 Apr 2025
CVE-2025-1805 Crypt::Salt for Perl uses insecure rand() function when generating salts for cryptographic purposes 5.3 medium 0.48% 2 Apr 2025
CVE-2025-1860 Data::Entropy for Perl uses insecure rand() function for cryptographic functions 7.7 high 0.19% 28 Mar 2025
CVE-2025-27552 DBIx::Class::EncodedColumn until 0.00032 for Perl uses insecure rand() function for salting password hashes in Crypt/Eksblowfish/Bcrypt.pm 4.0 medium 0.12% 26 Mar 2025
CVE-2025-27551 DBIx::Class::EncodedColumn until 0.00032 for Perl uses insecure rand() function for salting password hashes in Digest.pm 4.0 medium 0.12% 26 Mar 2025
CVE-2021-26091 Fortinet FortiMail: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 6.9 medium 0.31% 24 Mar 2025
CVE-2025-1796 Admin account takeover through weak Pseudo-Random number generator used in generating password reset codes in langgenius/dify 7.5 high 0.61% 20 Mar 2025
CVE-2025-1828 Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions 8.8 high 0.41% 10 Mar 2025
CVE-2024-40762 SonicWall SonicOS: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 9.8 critical 1.03% 9 Jan 2025
CVE-2025-21617 Guzzle OAuth Subscriber has insufficient nonce entropy 6.3 medium 0.48% 6 Jan 2025
CVE-2025-22376 In Net::OAuth::Client in the Net::OAuth package before 0.29 for Perl, the default nonce is a 32-bit integer generated from the built-in… 5.3 medium 0.61% 3 Jan 2025
CVE-2024-56830 The Net::EasyTCP package 0.15 through 0.26 for Perl uses Perl's builtin rand() if no strong randomization module is present 5.4 medium 0.39% 2 Jan 2025
CVE-2002-20002 The Net::EasyTCP package before 0.15 for Perl always uses Perl's builtin rand(), which is not a strong random number generator, for… 5.4 medium 0.31% 2 Jan 2025
CVE-2018-25107 The Crypt::Random::Source package before 0.13 for Perl has a fallback to the built-in rand() function, which is not a secure source of… 7.5 high 0.43% 29 Dec 2024
CVE-2024-53702 SonicWall SMA100: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 5.3 medium 0.33% 5 Dec 2024
CVE-2024-45723 goTenna Pro ATAK Plugin Use of Cryptographically Weak Pseudo-Random Number Generator 7.1 high 0.14% 26 Sep 2024
CVE-2024-47126 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in goTenna Pro 7.1 high 0.24% 26 Sep 2024
CVE-2024-45751 tgt (aka Linux target framework) before 1.0.93 attempts to achieve entropy by calling rand without srand 5.9 medium 0.55% 6 Sep 2024
CVE-2023-31305 AMD Radeon™ RX 6000 Series Graphics Cards: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 1.9 low 0.14% 13 Aug 2024
CVE-2024-38353 CodiMD - Missing Image Access Controls and Unauthorized Image Access 5.3 medium 1.15% 10 Jul 2024
CVE-2024-29868 Apache StreamPipes, Apache StreamPipes: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Recovery Token Generation 9.1 critical 6.00% 24 Jun 2024
CVE-2024-24554 Bludit - Insecure Token Generation 6.0 medium 0.24% 24 Jun 2024
CVE-2024-5264 Network Key Transfer with AES KHT vulnerability in Luna EFT 5.9 medium 0.37% 23 May 2024
CVE-2024-4772 Mozilla Firefox: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 5.9 medium 0.22% 14 May 2024
CVE-2024-34538 Mateso PasswordSafe through 8.13.9.26689 has Weak Cryptography 7.5 high 0.57% 6 May 2024
CVE-2023-50059 An issue ingalxe.com Galxe platform 1.0 allows a remote attacker to obtain sensitive information via the Web3 authentication process of… 5.3 medium 0.47% 30 Apr 2024