---
title: CVE-2026-122093: the Perl module Strong::Random (through 0.96) is predictable, since three outputs reveal every later one | ctxsec
url: https://ctxsec.com/items/cpansec-cve-2026-122093-perl-strong-random-predictable-from-three-outputs
description: "CPANSec says the generator keeps all its state in one number that its outputs encode, so anyone who sees three consecutive values can predict the tokens, passwords or key bytes the same object issues later. Outputs are also biased (rand(256) never returns 1 to 24)."
status: "official (CPAN Security Group advisory)"
published: 2026-11-25
---

> CPANSec says the generator keeps all its state in one number that its outputs encode, so anyone who sees three consecutive values can predict the tokens, passwords or key bytes the same object issues later. Outputs are also biased (rand(256) never returns 1 to 24).

[← Cybersecurity News](/news) · [markdown](/items/cpansec-cve-2026-122093-perl-strong-random-predictable-from-three-outputs.md)

official (CPAN Security Group advisory)

2026-11-25 4:36 AM ET

### CVE-2026-122093: the Perl module Strong::Random (through 0.96) is predictable, since three outputs reveal every later one

No fixed version is listed. CPANSec's workaround is to replace it with a cryptographically secure source such as Crypt::URandom or Crypt::SysRandom.

Sources: [CPANSec advisory on oss-security (Nov 24, 2026)](https://seclists.org/oss-sec/2026/q4/882)
