CVE-2026-122093
Received
Received - Intake
Predictable Random Number Generation in Strong::Random Perl Module
Vulnerability report for CVE-2026-122093, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-25
Last updated on: 2026-11-25
Assigner: CPANSec
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ivan_trunaev | strong_random | 0.96 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-327 | The product uses a broken or risky cryptographic algorithm or protocol. |