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-2026-56016 CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources 5.9 medium 0.36% 1 Jul 2026
CVE-2026-7830 UltraVNC MS-Logon II uses 64-bit Diffie-Hellman and seeded libc rand() enabling credential interception 7.4 high 0.22% 1 Jul 2026
CVE-2026-44040 UltraVNC vncauth.c uses time-seeded libc rand() to generate VNC authentication challenge bytes 4.8 medium 0.28% 1 Jul 2026
CVE-2026-7874 Weak Cryptographic Key Derivation Exposed All Stored Credentials 9.1 critical 0.17% 30 Jun 2026
CVE-2026-57082 Net::BitTorrent versions before 2.1.0 for Perl generate the MSE Diffie-Hellman private key with a non-cryptographic PRNG 5.9 medium 0.18% 30 Jun 2026
CVE-2026-9733 Mojolicious::Plugin::Web::Auth::OAuth2 versions through 0.17 for Perl have an insecure default state parameter 9.1 critical 0.34% 23 Jun 2026
CVE-2026-56141 JetBrains Hub: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 9.8 critical 0.48% 19 Jun 2026
CVE-2026-9692 Mojolicious::Sessions::Storable versions through 0.05 for Perl generate session ids insecurely 5.3 medium 0.27% 18 Jun 2026
CVE-2026-11832 Dancer2::Plugin::Auth::OAuth versions before 0.22 for Perl default to a predictable nonce 9.1 critical 0.33% 15 Jun 2026
CVE-2026-9638 Crypt::PBKDF2 versions before 0.261630 for Perl generate insecure random values for salts 7.5 high 0.30% 12 Jun 2026
CVE-2026-46493 haxtheweb/haxcms-php uses insecure method for generating salt 7.5 high 0.29% 5 Jun 2026
CVE-2026-11347 Hardcoded Cryptographic Keys and Weak IV Generation in linqi 8.5 high 0.073% 5 Jun 2026
CVE-2026-41858 Cloud Foundry Foundation windows-utilities-release: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 6.5 medium 0.25% 4 Jun 2026
CVE-2026-8647 Crypt::ScryptKDF versions through 0.010 for Perl uses insecure random number source when no CSPRNG module is available 4.8 medium 0.22% 26 May 2026
CVE-2026-47372 Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts 9.1 critical 0.40% 20 May 2026
CVE-2026-42155 Magento LTS: Weak API Session ID — Predictable MD5 of Time-Derived Inputs 9.3 critical 0.37% 15 May 2026
CVE-2026-8503 Apache::Session::Generate::SHA256 versions before 1.3.19 for Perl create insecure session ids 6.5 medium 0.24% 15 May 2026
CVE-2026-6146 Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys 5.3 medium 0.17% 11 May 2026
CVE-2026-5084 WebDyne::Session versions before 3.003_704 for Perl generate the session id insecurely 6.5 medium 0.33% 11 May 2026
CVE-2026-6659 Crypt::PasswdMD5 versions through 1.42 for Perl generates insecure random values for salts 7.5 high 0.45% 8 May 2026
CVE-2026-41505 RELATE: Predictable Token Generation in auth.py and exam.py 8.7 high 0.26% 7 May 2026
CVE-2026-5080 Dancer::Session::Abstract versions through 1.3522 for Perl generates session ids insecurely 5.9 medium 0.37% 30 Apr 2026
CVE-2026-40975 Spring Boot: Use of Insufficiently Random Values 4.8 medium 0.33% 27 Apr 2026
CVE-2026-40514 SmarterTools SmarterMail < Build 9610 Cryptographic Weakness via Weak RNG 8.2 high 0.16% 27 Apr 2026
CVE-2026-41564 CryptX versions before 0.088 for Perl do not reseed the Crypt::PK PRNG state after forking 7.5 high 0.44% 23 Apr 2026
CVE-2026-5088 Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts 7.5 high 0.58% 15 Apr 2026
CVE-2026-5085 Solstice::Session versions through 1440 for Perl generates session ids insecurely 9.1 critical 0.35% 13 Apr 2026
CVE-2026-5083 Ado::Sessions versions through 0.935 for Perl generates insecure session ids 5.3 medium 0.46% 8 Apr 2026
CVE-2026-5082 Amon2::Plugin::Web::CSRFDefender versions from 7.00 through 7.03 for Perl generate an insecure session id 5.3 medium 0.43% 8 Apr 2026
CVE-2026-25726 Cloudreve is vulnerable to Account Takeover via Weak Cryptographic Token Generation (Insecure PRNG Seeding) 8.1 high 0.43% 3 Apr 2026
CVE-2026-34871 An issue was discovered in Mbed TLS before 3.6.6 and 4.x before 4.1.0 and TF-PSA-Crypto before 1.1.0 6.7 medium 0.22% 1 Apr 2026
CVE-2026-5087 PAGI::Middleware::Session::Store::Cookie versions through 0.001003 for Perl generates random bytes insecurely 7.5 high 0.36% 31 Mar 2026
CVE-2025-15618 Business::OnlinePayment::StoredTransaction versions through 0.01 for Perl uses an insecure secret key 9.1 critical 0.37% 31 Mar 2026
CVE-2026-3256 HTTP::Session versions before 0.54 for Perl defaults to using insecurely generated session ids 9.8 critical 0.58% 28 Mar 2026
CVE-2025-15604 Amon2 versions before 6.17 for Perl use an insecure random_string implementation for security functions 9.8 critical 0.57% 28 Mar 2026
CVE-2026-4599 n/a jsrsasign: Incomplete Comparison with Missing Factors 9.3 critical 0.53% 23 Mar 2026
CVE-2024-57854 Net::NSCA::Client versions through 0.009002 for Perl uses a poor random number generator 9.1 critical 0.44% 5 Mar 2026
CVE-2025-40931 Apache::Session::Generate::MD5 versions through 1.94 for Perl create insecure session id 9.1 critical 0.63% 5 Mar 2026
CVE-2025-40926 Plack::Middleware::Session::Simple versions before 0.05 for Perl generates session ids insecurely 9.8 critical 0.52% 5 Mar 2026
CVE-2026-3255 HTTP::Session2 versions before 1.12 for Perl may generate weak session ids using the rand() function 6.5 medium 0.45% 27 Feb 2026
CVE-2025-40932 Apache::SessionX versions through 2.01 for Perl create insecure session id 8.2 high 0.24% 26 Feb 2026
CVE-2024-58041 Smolder versions through 1.51 for Perl uses insecure rand() function for cryptographic functions 9.1 critical 0.49% 23 Feb 2026
CVE-2026-2439 Concierge::Sessions versions from 0.8.1 before 0.8.5 for Perl generate insecure session ids 9.8 critical 0.48% 16 Feb 2026
CVE-2025-15578 Maypole versions from 2.10 through 2.13 for Perl generates session ids insecurely 9.8 critical 0.33% 16 Feb 2026
CVE-2025-40905 WWW::OAuth 1.000 and earlier for Perl uses insecure rand() function for cryptographic functions 7.3 high 0.30% 12 Feb 2026
CVE-2025-66630 Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure 9.2 critical 0.53% 9 Feb 2026
CVE-2025-69217 Coturn has unsafe nonce and relay port randomization due to weak random number generation. 7.7 high 0.44% 30 Dec 2025
CVE-2025-68932 FreshRSS has weak cryptographic randomness in remember-me token and nonce generation 2.9 low 0.59% 26 Dec 2025
CVE-2025-26379 Johnson Controls IQ Panels2, 2+, IQHub, IQPanel 4, PowerG use of Cryptographically Weak Pseudo-Random Number Generator 7.2 high 0.19% 22 Dec 2025
CVE-2025-67504 WBCE CMS has Weak Random Number Generator in Password Generation Function 9.1 critical 0.55% 9 Dec 2025