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 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Replace Strong::Random with a cryptographically secure source such as Crypt::URandom or Crypt::SysRandom.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
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.
Title Strong::Random versions through 0.96 for Perl allow every later rand output to be predicted from three earlier ones
Weaknesses CWE-327
References

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Dec 1, 2026, 9:18 PM
Reserved
Nov 4, 2026, 6:17 PM
Status
Deferred
Published
Nov 25, 2026, 1:16 AM
Modified
Dec 2, 2026, 6:14 PM