Read the docs

Predictable random output in Strong::Random for Perl

Priority LOW 22CWE-327Published · Updated

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

EPSS 0.00268 11th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Strong-Randomup to 0.96—No fix listedCNA
  • 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

  1. 2026-11-25 Threatist record created from CVE-2026-122093
  2. 2026-11-25 Alias added: GHSA-7mj4-4983-2353

References

Sources