CVE-2026-122093: Strong::Random versions through 0.96 for Perl allow every later rand output to be predicted from three earlier ones

Published Nov 25, 2026
·
Updated

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.

Affected Software

1 affected component
cpan/Strong::Random<=0.96

Event History

Nov 25, 2026
CVE Published
via MITRE·12:31 AM
Data Sourced
via MITRE·12:31 AM
DescriptionWeakness
Data Sourced
via NVD·01:16 AM
DescriptionWeakness

Frequently Asked Questions

1

What does an attacker need to predict future values?

The attacker needs to observe three consecutive outputs from the same Strong::Random object. Those outputs determine the generator state regardless of how it was seeded, allowing prediction of later outputs from that object.

2

Which uses are most exposed?

Applications that use a shared Strong::Random object to issue tokens, passwords, or key bytes to multiple users are exposed when one party can observe three consecutive outputs before another party receives a security-sensitive value.

3

Are generated values uniformly distributed?

No. The first digit after the decimal point is never zero. As a result, rand(256) never returns values 1 through 24.

4

How can I determine whether an application may already be affected?

Identify uses of Strong::Random through version 0.96 and determine whether the same object produces observable values before generating tokens, passwords, or key bytes. Three consecutive observable outputs from that object are sufficient for prediction of later values.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203