CVE-2026-5088 Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
HighCVSS 7.5
EPSS 0.58%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| JDEGUEST Apache::API::Password | < 0.5.3; <= 0.5.2 | 0.5.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| JDEGUEST Apache::API::Password | <= 0.5.2 | No fix listed |
| JDEGUEST Apache::API::Password | < 0.5.3 | 0.5.3 |
References
- metacpan.org release-notes
- metacpan.org product related
- security.metacpan.org product technical-description
- metacpan.org product
- www.openwall.com mailing-list third-party-advisory
- www.openwall.com mailing-list third-party-advisory