CVE-2026-5088
Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
- State
- Published
- Severity
- 7.5 High
- Published
- Apr 15, 2026
- Updated
- May 1, 2026
- Reserved
- Mar 28, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CISA-ADP |
Weaknesses
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
Affected Products
| Product | Versions |
|---|---|
Apache::API::PasswordJDEGUEST |
|
References
- https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.3/changesrelease-notes
- https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.2/view/lib/Apache2/API/Password.podrelated
- https://security.metacpan.org/docs/guides/random-data-for-security.htmltechnical-description
- https://metacpan.org/pod/Crypt::URandom
- http://www.openwall.com/lists/oss-security/2026/04/15/4
- http://www.openwall.com/lists/oss-security/2026/04/15/5
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.