Skip to main content

CWE-338

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

155 CVEs Avg CVSS 7.5 MITRE
43
CRITICAL
68
HIGH
39
MEDIUM
5
LOW
33
POC
0
KEV

Monthly

CVE-2026-104356 Oct 01, 21:21 HIGH PATCH This Week

PictShare versions before 3.7.1 generate the per-file delete_code authorization token using PHP's non-cryptographic rand() PRNG, allowing an attacker who knows a hosted file's hash to predict or infer valid delete codes and delete other users' uploads without authorization. The vulnerability is remotely reachable and requires no authentication or user interaction (CVSS:4.0 AV:N/PR:N/UI:N), but exploitation is constrained by HIGH attack complexity (AC:H) because the attacker must reconstruct the PRNG state; the resulting impact is availability-only (VA:H) and grants no data disclosure. No public exploit code was identified at time of analysis and there is no CISA KEV listing; vendor-released patch: 3.7.1.

PHP Authentication Bypass Pictshare
NVD GitHub
CVSS 4.0
8.2
EPSS
0.3%
CVE-2026-53953 Oct 01, 19:36 CRITICAL Act Now

Administrator account takeover in GetSimple CMS CE 3.3.22 is achievable because the password reset endpoint is reachable without authentication and, on a reset request for an existing user, immediately writes a hash of a newly generated temporary password that was produced by PHP rand() seeded with microtime(). The time-bounded seed leaves a limited effective candidate space, and because the admin login endpoint enforces neither rate limiting nor account lockout (independent assessment: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N), an unauthenticated remote attacker who knows or enumerates a valid username can generate candidate passwords and test them online until the correct one is found. Exploitation hinges on predicting or narrowing the PRNG value for the reset moment and sustaining enough login attempts, and it is self-defeating in stealth terms because submitting the reset silently overwrites the legitimate administrator's password; no public exploit code was identified at time of analysis and no vendor-released patch exists, though this is a genuine high-priority issue despite the absence of exploitation telemetry.

PHP Information Disclosure Getsimplecms Ce
NVD GitHub VulDB
CVSS 3.1
9.1
EPSS
0.3%
CVE-2026-79901 Oct 01, 13:52 CRITICAL PATCH Act Now

Predictable Active Directory service-account password generation in Fortra BoKS Manager's boks_keytabmd daemon allows an attacker who knows the target service principal and can approximate the password-change timestamp to regenerate the seed, reconstruct the limited candidate set, and verify guesses offline against a captured Kerberos ticket or authentication endpoint. Only deployments that use BoKS keytab management to automate AD service-account credentials on boks-server versions before 9.0.0.6 are exposed, which makes exploitation targeted rather than opportunistic. No public exploit code or confirmed in-the-wild exploitation is identified at time of analysis (no CISA KEV listing, SSVC exploitation value 'none'), but the assessed impact is total for affected credential material, making mandatory post-patch rotation of every generated service-account password essential.

Information Disclosure Boks Manager Boks Server
NVD
CVSS 3.1
9.9
EPSS
0.3%
CVE-2026-94456 Sep 22, 16:11 CRITICAL PATCH Act Now

Predictable, non-cryptographic credential generation in Postiz (gitroomhq/postiz-app, all versions prior to v2.24.0) allows unauthenticated remote attackers to reconstruct the V8 xorshift128+ PRNG state and derive OAuth access tokens, authorization codes, client secrets, organization API keys and PKCE verifiers issued to other users and organizations. Practical exploitation is limited by the requirement that the unauthenticated OAuth dynamic client registration endpoint be enabled and network-reachable, since that endpoint is what returns freshly generated client credentials supplying the consecutive PRNG output needed to solve for internal state; concurrent credential generation by other users interleaves draws and degrades recoverability, which is why the assessed vector carries high attack complexity. No public exploit code was identified at time of analysis and the issue is not in CISA KEV, but successful exploitation yields high confidentiality and integrity impact across tenants, and a vendor patch is available in v2.24.0 (advisory PSA-2026-TD98KY).

Information Disclosure Postiz App TypeScript Gitroomhq
NVD GitHub
CVSS 3.1
9.1
EPSS
0.5%
CVE-2026-94107 Sep 20, 11:09 CRITICAL Act Now

Administrative account takeover in NivoCart through 2.4.0 is possible because the forgotten.php password-reset flow derives recovery codes from PHP's non-cryptographic mt_rand() and MD5, allowing unauthenticated remote attackers who know a valid administrator email address to predict or brute-force the 10-hex-character token and reset the administrator password. No authentication or user interaction is required per the assessed vectors (PR:N/UI:N), and the absence of rate limiting and token expiration materially lowers the effort; CVE metadata scores this 9.2 under CVSS 4.0 and the independent assessment confirms high severity. No public exploit identified at time of analysis, but the vulnerable code path and affected version are publicly documented.

PHP Nivocart
NVD GitHub VulDB
CVSS 4.0
9.2
EPSS
0.4%
CVE-2026-93868 Sep 18, 19:56 CRITICAL PATCH Act Now

Unauthenticated attackers can reset the password of any Cotonti account, including administrator accounts, because password-recovery validation tokens in Cotonti through 1.0.0 are derived from md5(microtime()) rather than a cryptographically secure random source, leaving roughly one million predictable candidate values per second. Exploitation requires the attacker to trigger the recovery flow for a target account, read the server's Date header to bootstrap the microtime() timing window, then precompute and probe candidate tokens against the passrecover endpoint before the seed drifts - a timing-constrained but fully unauthenticated attack (assessed CVSS 3.1 AV:N/AC:H/PR:N/UI:N, C:H/I:H/A:H; CVSS 4.0 base 9.2). No public exploit code or confirmed in-the-wild exploitation was identified at time of analysis; any endpoint rate-limiting or short token lifetime further constrains the probing step, so this is a genuine high-priority flaw rather than a CVSS-inflation case.

PHP Information Disclosure Cotonti
NVD GitHub
CVSS 4.0
9.2
EPSS
0.6%
CVE-2026-92749 Sep 16, 20:32 CRITICAL Act Now

Unauthenticated remote attackers can forge valid administrator session cookies for the Chaitin SafeLine management console (all versions through 9.4.1) because the session-signing secret is derived from a time-seeded math/rand generator (CWE-338) and can be reconstructed offline once the install timestamp is bounded. Successful exploitation yields full administrative control of the protected sites managed by that console, matching the 9.2 CVSS 4.0 rating and the independently assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H profile. Two prerequisites limit practical reach: the management console must be network-reachable from the attacker, and the attacker must be able to narrow the installation time enough to make the seed search feasible. No public exploit code and no confirmed in-the-wild exploitation were identified at the time of analysis, and consoles placed behind network segmentation, VPN, or IP allow-listing are not exposed to remote cookie forgery.

Go
NVD GitHub
CVSS 4.0
9.2
EPSS
0.5%
CVE-2026-74874 Aug 17, 11:04 PyPI HIGH PATCH This Week

Cryptographically weak PRNG use in openssl_encrypt before 1.4.0 exposes steganographic pixel selection to full state-recovery attacks. The library's steganography module seeds Python's Mersenne Twister with only 64 bits of SHA-256 hash material derived from the user password, then uses it to select pixel positions for hidden data - a design flaw captured by CWE-338. Any attacker who knows or can brute-force the steganography password can deterministically reconstruct the PRNG sequence and enumerate every pixel carrying concealed data, breaking steganographic confidentiality entirely. No public exploit has been identified at time of analysis and no CISA KEV listing exists, but the MT state-recovery technique is well-documented and requires no novel research.

Python Information Disclosure Openssl Encrypt Jahlives
NVD GitHub
CVSS 4.0
8.7
EPSS
0.3%
CVE-2026-73567 Aug 13, 17:40 npm CRITICAL POC PATCH GHSA Act Now

Predictable SM2 private-key and signing-nonce generation in the sm-crypto npm library (versions prior to 0.5.0) lets an attacker recover keys generated in Node.js. Because jsbn's SecureRandom checks window.crypto rather than Node's globalThis.crypto, the default sm2.generateKeyPairHex() falls back to seeding an ARC4 stream from Math.random() and the wall clock, so an adversary who observes a few Math.random() outputs and estimates the generation time can reconstruct private keys and forge signatures. Publicly available exploit code exists (reproduced end-to-end against the real npm packages), but no public exploit is identified as being used in active attacks and there is no CISA KEV listing.

Information Disclosure Node.js Sm Crypto Juneandgreen
NVD VulDB GitHub
CVSS 3.1
9.1
EPSS
0.3%
CVE-2026-18611 Aug 10, 20:45 HIGH PATCH This Week

Credential derivation in Red Hat OpenShift AI's Data Science Pipelines Operator allows unauthenticated remote attackers to predict MariaDB root/user passwords and MinIO access/secret keys by exploiting a cryptographically weak PRNG (CWE-338). Any attacker who can reach the MinIO Route or MariaDB Service over the network can compute valid credentials without prior authentication, then access all pipeline artifacts and metadata stored in the system. No active exploitation is confirmed and no public exploit code has been identified at time of analysis, but the CVSS 7.5 High rating with AV:N and PR:N reflects a no-authentication-barrier condition against exposed services.

Authentication Bypass Information Disclosure Red Hat Openshift Ai Rhoai Red Hat
NVD VulDB
CVSS 3.1
7.5
EPSS
0.4%
EPSS 0% CVSS 8.2
HIGH PATCH This Week

PictShare versions before 3.7.1 generate the per-file delete_code authorization token using PHP's non-cryptographic rand() PRNG, allowing an attacker who knows a hosted file's hash to predict or infer valid delete codes and delete other users' uploads without authorization. The vulnerability is remotely reachable and requires no authentication or user interaction (CVSS:4.0 AV:N/PR:N/UI:N), but exploitation is constrained by HIGH attack complexity (AC:H) because the attacker must reconstruct the PRNG state; the resulting impact is availability-only (VA:H) and grants no data disclosure. No public exploit code was identified at time of analysis and there is no CISA KEV listing; vendor-released patch: 3.7.1.

PHP Authentication Bypass Pictshare
NVD GitHub
EPSS 0% CVSS 9.1
CRITICAL Act Now

Administrator account takeover in GetSimple CMS CE 3.3.22 is achievable because the password reset endpoint is reachable without authentication and, on a reset request for an existing user, immediately writes a hash of a newly generated temporary password that was produced by PHP rand() seeded with microtime(). The time-bounded seed leaves a limited effective candidate space, and because the admin login endpoint enforces neither rate limiting nor account lockout (independent assessment: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N), an unauthenticated remote attacker who knows or enumerates a valid username can generate candidate passwords and test them online until the correct one is found. Exploitation hinges on predicting or narrowing the PRNG value for the reset moment and sustaining enough login attempts, and it is self-defeating in stealth terms because submitting the reset silently overwrites the legitimate administrator's password; no public exploit code was identified at time of analysis and no vendor-released patch exists, though this is a genuine high-priority issue despite the absence of exploitation telemetry.

PHP Information Disclosure Getsimplecms Ce
NVD GitHub VulDB
EPSS 0% CVSS 9.9
CRITICAL PATCH Act Now

Predictable Active Directory service-account password generation in Fortra BoKS Manager's boks_keytabmd daemon allows an attacker who knows the target service principal and can approximate the password-change timestamp to regenerate the seed, reconstruct the limited candidate set, and verify guesses offline against a captured Kerberos ticket or authentication endpoint. Only deployments that use BoKS keytab management to automate AD service-account credentials on boks-server versions before 9.0.0.6 are exposed, which makes exploitation targeted rather than opportunistic. No public exploit code or confirmed in-the-wild exploitation is identified at time of analysis (no CISA KEV listing, SSVC exploitation value 'none'), but the assessed impact is total for affected credential material, making mandatory post-patch rotation of every generated service-account password essential.

Information Disclosure Boks Manager Boks Server
NVD
EPSS 1% CVSS 9.1
CRITICAL PATCH Act Now

Predictable, non-cryptographic credential generation in Postiz (gitroomhq/postiz-app, all versions prior to v2.24.0) allows unauthenticated remote attackers to reconstruct the V8 xorshift128+ PRNG state and derive OAuth access tokens, authorization codes, client secrets, organization API keys and PKCE verifiers issued to other users and organizations. Practical exploitation is limited by the requirement that the unauthenticated OAuth dynamic client registration endpoint be enabled and network-reachable, since that endpoint is what returns freshly generated client credentials supplying the consecutive PRNG output needed to solve for internal state; concurrent credential generation by other users interleaves draws and degrades recoverability, which is why the assessed vector carries high attack complexity. No public exploit code was identified at time of analysis and the issue is not in CISA KEV, but successful exploitation yields high confidentiality and integrity impact across tenants, and a vendor patch is available in v2.24.0 (advisory PSA-2026-TD98KY).

Information Disclosure Postiz App TypeScript +1
NVD GitHub
EPSS 0% CVSS 9.2
CRITICAL Act Now

Administrative account takeover in NivoCart through 2.4.0 is possible because the forgotten.php password-reset flow derives recovery codes from PHP's non-cryptographic mt_rand() and MD5, allowing unauthenticated remote attackers who know a valid administrator email address to predict or brute-force the 10-hex-character token and reset the administrator password. No authentication or user interaction is required per the assessed vectors (PR:N/UI:N), and the absence of rate limiting and token expiration materially lowers the effort; CVE metadata scores this 9.2 under CVSS 4.0 and the independent assessment confirms high severity. No public exploit identified at time of analysis, but the vulnerable code path and affected version are publicly documented.

PHP Nivocart
NVD GitHub VulDB
EPSS 1% CVSS 9.2
CRITICAL PATCH Act Now

Unauthenticated attackers can reset the password of any Cotonti account, including administrator accounts, because password-recovery validation tokens in Cotonti through 1.0.0 are derived from md5(microtime()) rather than a cryptographically secure random source, leaving roughly one million predictable candidate values per second. Exploitation requires the attacker to trigger the recovery flow for a target account, read the server's Date header to bootstrap the microtime() timing window, then precompute and probe candidate tokens against the passrecover endpoint before the seed drifts - a timing-constrained but fully unauthenticated attack (assessed CVSS 3.1 AV:N/AC:H/PR:N/UI:N, C:H/I:H/A:H; CVSS 4.0 base 9.2). No public exploit code or confirmed in-the-wild exploitation was identified at time of analysis; any endpoint rate-limiting or short token lifetime further constrains the probing step, so this is a genuine high-priority flaw rather than a CVSS-inflation case.

PHP Information Disclosure Cotonti
NVD GitHub
EPSS 1% CVSS 9.2
CRITICAL Act Now

Unauthenticated remote attackers can forge valid administrator session cookies for the Chaitin SafeLine management console (all versions through 9.4.1) because the session-signing secret is derived from a time-seeded math/rand generator (CWE-338) and can be reconstructed offline once the install timestamp is bounded. Successful exploitation yields full administrative control of the protected sites managed by that console, matching the 9.2 CVSS 4.0 rating and the independently assessed CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H profile. Two prerequisites limit practical reach: the management console must be network-reachable from the attacker, and the attacker must be able to narrow the installation time enough to make the seed search feasible. No public exploit code and no confirmed in-the-wild exploitation were identified at the time of analysis, and consoles placed behind network segmentation, VPN, or IP allow-listing are not exposed to remote cookie forgery.

Go
NVD GitHub
EPSS 0% CVSS 8.7
HIGH PATCH This Week

Cryptographically weak PRNG use in openssl_encrypt before 1.4.0 exposes steganographic pixel selection to full state-recovery attacks. The library's steganography module seeds Python's Mersenne Twister with only 64 bits of SHA-256 hash material derived from the user password, then uses it to select pixel positions for hidden data - a design flaw captured by CWE-338. Any attacker who knows or can brute-force the steganography password can deterministically reconstruct the PRNG sequence and enumerate every pixel carrying concealed data, breaking steganographic confidentiality entirely. No public exploit has been identified at time of analysis and no CISA KEV listing exists, but the MT state-recovery technique is well-documented and requires no novel research.

Python Information Disclosure Openssl Encrypt +1
NVD GitHub
EPSS 0% CVSS 9.1
CRITICAL POC PATCH Act Now

Predictable SM2 private-key and signing-nonce generation in the sm-crypto npm library (versions prior to 0.5.0) lets an attacker recover keys generated in Node.js. Because jsbn's SecureRandom checks window.crypto rather than Node's globalThis.crypto, the default sm2.generateKeyPairHex() falls back to seeding an ARC4 stream from Math.random() and the wall clock, so an adversary who observes a few Math.random() outputs and estimates the generation time can reconstruct private keys and forge signatures. Publicly available exploit code exists (reproduced end-to-end against the real npm packages), but no public exploit is identified as being used in active attacks and there is no CISA KEV listing.

Information Disclosure Node.js Sm Crypto +1
NVD VulDB GitHub
EPSS 0% CVSS 7.5
HIGH PATCH This Week

Credential derivation in Red Hat OpenShift AI's Data Science Pipelines Operator allows unauthenticated remote attackers to predict MariaDB root/user passwords and MinIO access/secret keys by exploiting a cryptographically weak PRNG (CWE-338). Any attacker who can reach the MinIO Route or MariaDB Service over the network can compute valid credentials without prior authentication, then access all pipeline artifacts and metadata stored in the system. No active exploitation is confirmed and no public exploit code has been identified at time of analysis, but the CVSS 7.5 High rating with AV:N and PR:N reflects a no-authentication-barrier condition against exposed services.

Authentication Bypass Information Disclosure Red Hat Openshift Ai Rhoai +1
NVD VulDB

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy