CVE-2026-5088

Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts. The _make_salt and _make_salt_bcrypt methods will attept to load Crypt::URandom and then Bytes::Random::Secure to generate random bytes for the salt. If those modules are unavailable, it will simply return 16 bytes generated with Perl's built-in rand function. The rand function is unsuitable for cryptographic use. These salts are used for password hashing.
Configurations

Configuration 1 (hide)

cpe:2.3:a:jdeguest:apache\:\:api\:\:password:*:*:*:*:*:perl:*:*

History

26 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de Apache::API::Password hasta la 0.5.2 para Perl pueden generar valores aleatorios inseguros para las sales. Los métodos _make_salt y _make_salt_bcrypt intentarán cargar Crypt::URandom y luego Bytes::Random::Secure para generar bytes aleatorios para la sal. Si esos módulos no están disponibles, simplemente devolverá 16 bytes generados con la función rand incorporada de Perl. La función rand no es adecuada para uso criptográfico. Estas sales se utilizan para el hash de contraseñas.

Information

Published : 2026-04-15 08:16

Updated : 2026-10-26 22:10


NVD link : CVE-2026-5088

Mitre link : CVE-2026-5088

CVE.ORG link : CVE-2026-5088


JSON object : View

Products Affected

jdeguest

  • apache\
CWE
CWE-338

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)