{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-5088","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","state":"PUBLISHED","assignerShortName":"CPANSec","dateReserved":"2026-03-28T19:31:47.729Z","datePublished":"2026-04-15T07:03:13.742Z","dateUpdated":"2026-05-01T16:03:43.825Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Apache2-API","product":"Apache::API::Password","programFiles":["lib/Apache2/API.pm"],"programRoutines":[{"name":"Apache2::API::Password::_make_salt"},{"name":"Apache2::API::Password::_make_salt_bcrypt"}],"repo":"https://gitlab.com/jackdeguest/Apache2-API","vendor":"JDEGUEST","versions":[{"lessThanOrEqual":"0.5.2","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec","dateUpdated":"2026-05-01T16:03:43.825Z"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.3/changes"},{"tags":["related"],"url":"https://metacpan.org/release/JDEGUEST/Apache2-API-v0.5.2/view/lib/Apache2/API/Password.pod"},{"tags":["technical-description"],"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html"},{"url":"https://metacpan.org/pod/Crypt::URandom"}],"solutions":[{"lang":"en","value":"Upgrade to version v0.5.3 or later, and install Crypt::URandom."}],"source":{"discovery":"UNKNOWN"},"title":"Apache::API::Password versions through 0.5.2 for Perl can generate insecure random values for salts","workarounds":[{"lang":"en","value":"Install Crypt::URandom."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/04/15/4"},{"url":"http://www.openwall.com/lists/oss-security/2026/04/15/5"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2026-04-15T17:24:20.860Z"}},{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-04-16T11:59:31.300289Z","id":"CVE-2026-5088","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-04-16T12:05:32.095Z"}}]}}