CVE-2026-5088
HIGH 7.5CVSS 3.1Apache::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.
- Published
- 15 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- 9b29abf9-4ab0-4765-b253-1875cd9b441e
- NVD status
- Analyzed
- Weakness
- CWE-338
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jdeguest | apache::api::passwordcpe:2.3:a:jdeguest:apache\:\:api\:\:password:*:*:*:*:*:perl:*:* |
< 0.5.3 | 0.5.3 |
References
- 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
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 Apr 2026)