CVE-2026-5088Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts
- 7.5HighCVSS base score
- 0.58%Exploitation in 30 daysEPSS · top 52% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By CPANSec
- 18 days later
· 18 days later
Published
- 16 days later
· 16 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Analyzed | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.58% · top 52% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
JDEGUEST · Apache::API::Password
- affected ≤ 0.5.2
What to do
Solution: Upgrade to version v0.5.3 or later, and install Crypt::URandom.
Workaround: Install Crypt::URandom.
References
References6
- https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.3/changes (opens in a new tab)release-notes
- https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.2/view/lib/Apache2/API/Password.pod (opens in a new tab)related
- https://security.metacpan.org/docs/guides/random-data-for-security.html (opens in a new tab)technical-description
- https://metacpan.org/pod/Crypt::URandom (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2026/04/15/4 (opens in a new tab)
- http://www.openwall.com/lists/oss-security/2026/04/15/5 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-22840 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-5088)Record last updated .