GHSA-3fmq-x9q6-wm39
LOWrandom_compat Uses insecure CSPRNG
random_compat versions prior to 2.0 are affected by a security vulnerability related to the insecure usage of Cryptographically Secure Pseudo-Random Number Generators (CSPRNG). The affected versions use openssl_random_pseudo_bytes(), which may result in insufficient entropy and compromise the security of generated random numbers.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | paragonie/random_compat | < 2.0 | 2.0 |
References
- https://github.com/paragonie/random_compat/issues/96 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/paragonie/random_compat/2016-03-16.yaml · WEB
- https://github.com/paragonie/random_compat · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 May 2024)