Strong::Random versions through 0.96 for Perl allow every later rand output to be predicted from three earlier ones
Summary
| CVE | CVE-2026-122093 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-25 01:16:48 UTC |
| Updated | 2026-11-26 11:16:58 UTC |
| Description | Strong::Random versions through 0.96 for Perl allow every later rand output to be predicted from three earlier ones. The generator keeps its state in a single number. Each call multiplies the state by a factor derived from it, and the returned digits encode that factor, so three consecutive outputs determine the state however the generator was seeded. Outputs are also biased: the first digit after the decimal point is never zero, so rand(256) never returns 1 to 24. An attacker who sees three consecutive outputs can predict the tokens, passwords or key bytes that the same object later issues to other users. |
Risk And Classification
EPSS: 0.002080000 probability, percentile 0.061850000 (date 2026-11-26)
Problem Types: CWE-327 | CWE-327 CWE-327 Use of a Broken or Risky Cryptographic Algorithm
There are no known software configurations currently associated with this CVE in NVD or the CVE Program record.
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.openwall.com/lists/oss-security/2026/11/25/1 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| metacpan.org/release/TRUNAEV/Strong-Random-0.96/source/lib/Strong/Random.pm | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | |
| www.openwall.com/lists/oss-security/2026/11/26/2 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
Workarounds
CNA: Replace Strong::Random with a cryptographically secure source such as Crypt::URandom or Crypt::SysRandom.
There are currently no legacy QID mappings associated with this CVE.