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

Status: published. Published: 2026-11-25. Updated: 2026-11-25.

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

- workaround: Replace Strong::Random with a cryptographically secure source such as Crypt::URandom or Crypt::SysRandom. (source: CNA: CPANSec)

## Affected products and versions

-  /  (Strong-Random): ≥ 0; ≤ 0.96 (affected, custom). Source: CNA: CPANSec

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-327

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://metacpan.org/release/TRUNAEV/Strong-Random-0.96/source/lib/Strong/Random.pm (CNA: CPANSec; technical-description)

## Provenance

- CNA: CPANSec: https://www.cve.org/CVERecord?id=CVE-2026-122093; retrieved 2026-11-25; source updated 2026-11-25

Revision: aa2f4b3e435bc46b8e87672ccce6631206a69e3fb53d520e6da1dc8d61230ab9

Canonical: https://y2.dev/cve/CVE-2026-122093

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.