Skip to content
NewA calmer, faster ZeroHour

CVE-2026-122093

Predictable PRNG in Perl Strong::Random through 0.96

CVSS
—
EPSS
—
Published
·
Modified
Analyze CVE-2026-122093 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Strong::Random through 0.96 keeps generator state in one number. Each call multiplies that state by a factor the returned digits encode, so three consecutive outputs reveal the state no matter how it was seeded. Later outputs are then predictable, including tokens, passwords, or key bytes the same object issues to other users. Outputs are also biased: the first digit after the decimal is never zero, so rand(256) never returns 1 to 24.

What to do: No fixed version is stated. Do not use Strong::Random through 0.96 to issue tokens, passwords, or key bytes.

ProductAffected
Strong::Random for Perlthrough 0.96
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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.

Weakness
CWE-327

In the news

1 story