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.
References
| Link | Resource |
|---|---|
| https://metacpan.org/pod/Crypt::URandom | Product |
| https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.2/view/lib/Apache2/API/Password.pod | Product |
| https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.3/changes | Release Notes |
| https://security.metacpan.org/docs/guides/random-data-for-security.html | Product |
| http://www.openwall.com/lists/oss-security/2026/04/15/4 | Mailing List Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2026/04/15/5 | Mailing List Third Party Advisory |
Configurations
History
06 May 2026, 14:18
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://metacpan.org/pod/Crypt::URandom - Product | |
| References | () https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.2/view/lib/Apache2/API/Password.pod - Product | |
| References | () https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.3/changes - Release Notes | |
| References | () https://security.metacpan.org/docs/guides/random-data-for-security.html - Product | |
| References | () http://www.openwall.com/lists/oss-security/2026/04/15/4 - Mailing List, Third Party Advisory | |
| References | () http://www.openwall.com/lists/oss-security/2026/04/15/5 - Mailing List, Third Party Advisory | |
| CPE | cpe:2.3:a:jdeguest:apache\:\:api\:\:password:*:*:*:*:*:perl:*:* | |
| First Time |
Jdeguest
Jdeguest apache\ |
01 May 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| Summary | (en) 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. |
16 Apr 2026, 13:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.5 |
15 Apr 2026, 18:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
15 Apr 2026, 08:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-15 08:16
Updated : 2026-05-06 14:18
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)
