CVE-2026-122093 Strong::Random versions through 0.96 for Perl allow every later rand output to be predicted from three earlier ones
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cpan Strong-Random | <= 0.96 | after 0.96 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cpan Strong-Random | <= 0.96 | No fix listed |
References
- metacpan.org technical-description
- www.openwall.com
- ENISA EUVD EUVD-2026-134841 third-party-advisory
- nvd.nist.gov
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com