CVE-2026-5088
published high CVSS 3.1 · 7.5Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| JDEGUEST | — | Apache2-APIApache::API::Password · 0 through 0.5.2 · Other versions: unaffected | Affected | Not stated | CPANSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| JDEGUEST | Apache::API::Password | 0 through 0.5.2 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
References
6- http://www.openwall.com/lists/oss-security/2026/04/15/4
- http://www.openwall.com/lists/oss-security/2026/04/15/5
- 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
Provider assertions
3CPANSec · cna
Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 46e1686a13cf115179db5f72e2eb0a69fe9eee8f7ded78281d6c2688616e1e6b
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record