CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Description
The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.
Associated Reviewed Advisories
Vulnerabilities classified under CWE-338 ordered by modification date.
| Advisory ID | NVD ID | Severity | PURLs | Summary | Last Modified |
|---|---|---|---|---|---|
| GHSA-mfj3-87qq-382v | CVE-2026-107283 | LOW |
AsyncHttpClient: Digest authentication cnonce generated with a non-cryptographic random source |
2026-10-08 | |
| GHSA-9pw3-x84f-xcwf | - | HIGH |
Duplicate Advisory: Langflow: Weak Fernet Key via random.seed() |
2026-10-05 | |
| GHSA-w67g-5rqw-f597 | - | MODERATE |
Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key |
2026-08-24 | |
| GHSA-vh45-f885-3848 | CVE-2026-73567 | CRITICAL |
sm-crypto: Predictable SM2 key generation in Node.js: default RNG uses Math.random + wall clock |
2026-08-13 | |
| GHSA-rg76-677x-56q9 | CVE-2026-71851 | CRITICAL |
crypto-js: Insufficient Entropy in Cryptographic Secret Generation via Vulnerable CryptoJS Dependency Chain |
2026-08-07 | |
| GHSA-5jx8-q4cp-rhh6 | CVE-2026-4599 | CRITICAL |
jsrsasign: Incomplete Comparison Allows DSA Private Key Recovery via Biased Nonce Generation |
2026-07-21 | |
| GHSA-237r-r8m4-4q88 | CVE-2025-21617 | MODERATE | - |
Guzzle OAuth Subscriber has insufficient nonce entropy |
2026-07-15 |
| GHSA-2cwr-gcf9-pvxr | CVE-2026-42155 | CRITICAL | - |
Magento LTS has Weak API Session ID — Predictable MD5 of Time-Derived Inputs |
2026-05-15 |
| GHSA-f8xp-wvcx-p6f4 | CVE-2026-25726 | HIGH |
Cloudreve is vulnerable to Account Takeover via Weak Cryptographic Token Generation (Insecure PRNG Seeding) |
2026-04-06 | |
| GHSA-68rr-p4fp-j59v | CVE-2025-66630 | CRITICAL |
Fiber has an insecure fallback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure |
2026-02-09 | |
| GHSA-m98w-cqp3-qcqr | CVE-2025-66565 | CRITICAL |
Fiber Utils UUIDv4 and UUID Silent Fallback to Predictable Values |
2025-12-12 | |
| GHSA-w88f-4875-99c8 | CVE-2025-59390 | CRITICAL |
Apache Druid’s Kerberos authenticator uses a weak fallback secret |
2025-11-26 | |
| GHSA-cf3q-vg8w-mw84 | CVE-2024-29868 | CRITICAL |
Apache StreamPipes: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Recovery Token Generation |
2025-07-15 | |
| GHSA-75v8-2h7p-7m2m | CVE-2025-46653 | LOW |
Formidable relies on hexoid to prevent guessing of filenames for untrusted executable content |
2025-05-27 | |
| GHSA-rc7v-65v6-m2v3 | - | CRITICAL |
Withdrawn Advisory: go-mysql affected by go.uuid's Predictable UUID Identifiers |
2024-11-08 | |
| GHSA-mhhf-vgwh-fw9h | CVE-2022-23472 | HIGH |
Passeo uses insecure random number generator |
2024-10-09 | |
| GHSA-gwf7-vfjf-wf6x | CVE-2019-11842 | HIGH |
matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG |
2024-09-30 | |
| GHSA-33m6-q9v5-62r7 | CVE-2021-3538 | CRITICAL |
go.uuid has Predictable UUID Identifiers |
2024-09-19 | |
| GHSA-q8fc-v85f-78pw | - | MODERATE | - |
stormpath/sdk uses Insecure Random Number Generator |
2024-05-29 |
| GHSA-2w26-gmqm-mc5p | CVE-2019-7855 | MODERATE | - |
Magento 2 Community Cryptographic Flaw |
2024-02-12 |
| GHSA-8v9h-m7pj-hx7c | CVE-2019-7860 | HIGH | - |
Magento 2 Community Edition Weak PRNG |
2024-02-12 |
| GHSA-82vr-5769-6358 | CVE-2023-48224 | HIGH |
Ethyca Fides Cryptographically Weak Generation of One-Time Codes for Identity Verification |
2023-11-16 | |
| GHSA-c4r2-3f9r-rwp8 | CVE-2019-8113 | MODERATE | - |
Magento 2 Community Weak PRNG |
2023-09-26 |
| GHSA-6g33-f262-xjp4 | CVE-2017-16028 | MODERATE |
Cryptographically Weak PRNG in randomatic |
2023-09-08 | |
| GHSA-44r7-7p62-q3fr | CVE-2019-19794 | MODERATE |
miekg/dns insecurely generates random numbers |
2023-08-29 |