What’s Vulnerable › Vulnerabilities
CVE-2026-5088: Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-15 · updated 2026-10-26
- Weakness: 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 products
- JDEGUEST Apache::Api::Password: before 0.5.3 — fixed in 0.5.3
How to fix
Upgrade to a fixed version: JDEGUEST Apache::Api::Password 0.5.3. Check the vendor advisory for mitigations.
References
- https://metacpan.org/pod/Crypt::URandom
- https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.2/view/lib/Apache2/API/Password.pod
- https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.3/changes
- https://security.metacpan.org/docs/guides/random-data-for-security.html
- http://www.openwall.com/lists/oss-security/2026/04/15/4
- http://www.openwall.com/lists/oss-security/2026/04/15/5
Get alerted when CVE-2026-5088 or the next vulnerability affects your stack