CVE-2026-5088CWE-338

Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts

High · published April 15, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
47.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00582 · 47.1th percentile
Weakness
CWE-338 · Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Published
2026-04-15T07:03Z
EPSS history
Timeline
  • 15 APR 07:03Z
    Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
    cvelistv5