Vulnerability · Published Apr 15, 2026 · Assigned by CPANSec
CVE-2026-5088Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
High 7.5
In plain English
A high-severity security flaw in Apache::API::Password from JDEGUEST. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| JDEGUEST | Apache::API::Password | 0 – through 0.5.2 |
Weakness: CWE-338 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.3/changes release-notes
- https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.2/view/lib/Apache2/API/Password.pod related
- https://security.metacpan.org/docs/guides/random-data-for-security.html technical-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