Home
Home
Trends
Trends
Vulnerabilities
Vulnerabilities
News
News
Researchers
Researchers
Why dbugs?
Why dbugs?
Settings

Kalin Kozhuharov

#61460of 61,498
Vulnerabilities · 1
PT-2026-158701
2026-11-25
N/A
CVE-2026-122093
Cpan
String::Random
The random number generator maintains its state within a single number. Because each call multiplies the state by a factor derived from it and the returned digits encode that factor, three consecutive outputs are sufficient to determine the internal state regardless of how the generator was seeded. Additionally, the outputs are biased, as the first digit after the decimal point is never zero, meaning `rand(256)` never returns values from 1 to 24. An attacker observing three consecutive outputs can predict subsequent tokens, passwords, or key bytes issued by the same object to other users.