CPANSA-Strong-Random-2026-122093: Strong-Random vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-11-25T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-11-25T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score Severity
Original language Language en
Also referred to

Vulnerability 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.

Vulnerabilities

CVE-2026-122093

Vulnerability 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.

Weakness CWE-327 : Use of a Broken or Risky Cryptographic Algorithm

Product status

Known affected
Product Score
Strong-Random greater than 0
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Wed Nov 25 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/