CVE-2026-122093
Generador de números aleatorios predecible en Strong::Random para Perl
Crítica 9.1 Sin autenticaciónReciente
Seguir: esta CVE Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 76
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 25 nov 2026
- Actualizada
- 1 dic 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-327
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Qué pasa
Strong::Random versión 0.96 y anteriores para Perl contiene un generador de números aleatorios débil que permite predecir todas las salidas futuras a partir de tres salidas consecutivas anteriores. Un atacante que observe tres salidas consecutivas puede predecir tokens, contraseñas o bytes de clave que el mismo objeto genere posteriormente para otros usuarios.
Ver el texto original de NVD (en inglés)
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.
Qué hacer
Sin datos de parche
Reemplaza Strong::Random con un generador criptográfico seguro como Crypt::Random o utiliza la función rand() del sistema operativo con una semilla segura.
- Revisa si usas alguno de los productos afectados y sigue el aviso del fabricante.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.