CVEvulnerability

CVE-2026-5088

7.5 HIGH Published 2026-04-15 Modified 2026-10-26 Official page ↗
Status
Analyzed
Published
2026-04-15
Last modified
2026-10-26
Assigner
9b29abf9-4ab0-4765-b253-1875cd9b441e
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-338

Description

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.

Affected configurations

• jdeguest apache\ \ (< 0.5.3)

Related

Weakness · CWE (1)

  • CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) weakness

References