Strong::Random versions through 0.96 for Perl allow every later rand output to be predicted from three earlier ones
- State
- Published
- Severity
- Not Scored
- Published
- Nov 25, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 4, 2026
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.
| Product | Versions |
|---|---|
| Strong-Random | 0.96 and earlier Affected |
The record has no CVSS score.
Weaknesses
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
References
- https://metacpan.org/release/TRUNAEV/Strong-Random-0.96/source/lib/Strong/Random.pmTechnical Details
- http://www.openwall.com/lists/oss-security/2026/11/25/1
- http://www.openwall.com/lists/oss-security/2026/11/26/2
- http://www.openwall.com/lists/oss-security/2026/11/27/3
- http://www.openwall.com/lists/oss-security/2026/11/27/4
- http://www.openwall.com/lists/oss-security/2026/11/27/5
- http://www.openwall.com/lists/oss-security/2026/11/27/6
- http://www.openwall.com/lists/oss-security/2026/11/27/7
- http://www.openwall.com/lists/oss-security/2026/11/27/8
- http://www.openwall.com/lists/oss-security/2026/11/27/11
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.