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

Summary

CVECVE-2026-122093
StatePUBLISHED
AssignerCPANSec
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-25 01:16:48 UTC
Updated2026-11-26 11:16:58 UTC
DescriptionStrong::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.

Risk And Classification

EPSS: 0.002080000 probability, percentile 0.061850000 (date 2026-11-26)

Problem Types: CWE-327 | CWE-327 CWE-327 Use of a Broken or Risky Cryptographic Algorithm

References

ReferenceSourceLinkTags
www.openwall.com/lists/oss-security/2026/11/25/1 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
metacpan.org/release/TRUNAEV/Strong-Random-0.96/source/lib/Strong/Random.pm 9b29abf9-4ab0-4765-b253-1875cd9b441e metacpan.org
www.openwall.com/lists/oss-security/2026/11/26/2 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

Workarounds

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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report