SocWatch

CVE-2026-122093

Kritisch 9,1

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

CVSS
9,1 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
0,55 % (höher als 47,3 % aller Lücken)
Veröffentlicht
25.11.2026
Zuletzt geändert
02.12.2026

Beschreibung

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.

Quellen

Weitere Kennungen

CWE-327

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.