Predictable random output in Strong::Random for Perl
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- No fix listed
No CVSS vector from any source. Fix status from CNA. Impact type from CWE-327.
Summary
Strong::Random versions from 0 through 0.96 for Perl use a random number generator whose state can be recovered from its output. Three consecutive rand outputs reveal the internal state, so an attacker who observes them can predict every later value, including tokens, passwords or key bytes issued to other users. The output is also biased, since the first digit after the decimal point is never zero. The flaw is classified as CWE-327, use of a broken or risky cryptographic algorithm.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Strong-Random | up to 0.96 | — | No fix listed | CNA |
- Strong-Random Vendor— Affected up to 0.96 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Strong-Random.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Timeline
- 2026-11-25 Threatist record created from CVE-2026-122093
- 2026-11-25 Alias added: GHSA-7mj4-4983-2353
References
Sources
- CVE-2026-122093 · CVE Program
- CVE-2026-122093 · NVD
- FIRST EPSS
- GHSA-7mj4-4983-2353 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences