{"id":"CVE-2026-5088","published":"2026-04-15T07:03:13Z","modified":"2026-05-01T16:03:43Z","title":"Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts","vendor":"JDEGUEST","product":"Apache::API::Password","tier":"tail","description":{"text":"Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts.\n\nThe _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.\n\nThe rand function is unsuitable for cryptographic use.\n\nThese salts are used for password hashing.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00582,"percentile":0.48729,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.3/changes","tags":["release-notes"]},{"url":"https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.2/view/lib/Apache2/API/Password.pod","tags":["related"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["technical-description"]},{"url":"https://metacpan.org/pod/Crypt::URandom","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/15/4","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/15/5","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":9.75},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"jdeguest","affectedVersions":[{"vendor":"JDEGUEST","product":"Apache::API::Password","versions":["<= 0.5.2"]}],"solutions":{"items":["Upgrade to version v0.5.3 or later, and install Crypt::URandom."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Install Crypt::URandom."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-16T11:59:31.300289Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-22840","exploited":false,"provenance":"source"}}