{"api_version":"1","generated_at":"2026-07-24T18:35:26+00:00","cve":"CVE-2026-6659","urls":{"html":"https://cve.report/CVE-2026-6659","api":"https://cve.report/api/cve/CVE-2026-6659.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-6659","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-6659"},"summary":{"title":"Crypt::PasswdMD5 versions through 1.42 for Perl generates insecure random values for salts","description":"Crypt::PasswdMD5 versions through 1.42 for Perl generates insecure random values for salts.\n\nThe built-in rand function is predictable, and unsuitable for cryptography.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-05-08 18:16:34","updated_at":"2026-05-26 23:16:21"},"problem_types":["CWE-338","CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.42/source/lib/Crypt/PasswdMD5.pm#L35-47","name":"https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.42/source/lib/Crypt/PasswdMD5.pm#L35-47","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ronsavage/Crypt-PasswdMD5/commit/a2f821637db0296082297aa4b02254ab08f0dc5e.patch","name":"https://github.com/ronsavage/Crypt-PasswdMD5/commit/a2f821637db0296082297aa4b02254ab08f0dc5e.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/05/08/17","name":"http://www.openwall.com/lists/oss-security/2026/05/08/17","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/ronsavage/Crypt-PasswdMD5/pull/3","name":"https://github.com/ronsavage/Crypt-PasswdMD5/pull/3","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.43/changes","name":"https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.43/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-6659","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6659","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"RSAVAGE","product":"Crypt::PasswdMD5","version":"affected 1.42 custom","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-04-14T00:00:00.000Z","lang":"en","value":"Issue reported to CPANSec"},{"source":"CNA","time":"2026-04-20T00:00:00.000Z","lang":"en","value":"Maintainer notified"},{"source":"CNA","time":"2026-05-08T00:00:00.000Z","lang":"en","value":"Vulnerability published"},{"source":"CNA","time":"2026-05-23T00:00:00.000Z","lang":"en","value":"Version 1.43 with fix uploaded to CPAN"}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to version 1.43 or later.","time":"","lang":"en"}],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"6659","cve":"CVE-2026-6659","epss":"0.000150000","percentile":"0.033690000","score_date":"2026-05-31","updated_at":"2026-06-01 00:08:20"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}},{"other":{"content":{"id":"CVE-2026-6659","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-05-08T18:01:59.977528Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-05-08T18:04:17.941Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2026-05-08T19:30:59.696Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/08/17"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Crypt-PasswdMD5","product":"Crypt::PasswdMD5","programFiles":["lib/Crypt/PasswdMD5.pm"],"programRoutines":[{"name":"Crypt::PasswdMD5::random_md5_salt"}],"repo":"https://github.com/ronsavage/Crypt-PasswdMD5","vendor":"RSAVAGE","versions":[{"lessThanOrEqual":"1.42","status":"affected","version":"0","versionType":"custom"}]}],"descriptions":[{"lang":"en","value":"Crypt::PasswdMD5 versions through 1.42 for Perl generates insecure random values for salts.\n\nThe built-in rand function is predictable, and unsuitable for cryptography."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-05-26T22:52:31.427Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["release-notes"],"url":"https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.43/changes"},{"tags":["issue-tracking"],"url":"https://github.com/ronsavage/Crypt-PasswdMD5/pull/3"},{"tags":["patch"],"url":"https://github.com/ronsavage/Crypt-PasswdMD5/commit/a2f821637db0296082297aa4b02254ab08f0dc5e.patch"},{"url":"https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.42/source/lib/Crypt/PasswdMD5.pm#L35-47"}],"solutions":[{"lang":"en","value":"Upgrade to version 1.43 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-04-14T00:00:00.000Z","value":"Issue reported to CPANSec"},{"lang":"en","time":"2026-04-20T00:00:00.000Z","value":"Maintainer notified"},{"lang":"en","time":"2026-05-08T00:00:00.000Z","value":"Vulnerability published"},{"lang":"en","time":"2026-05-23T00:00:00.000Z","value":"Version 1.43 with fix uploaded to CPAN"}],"title":"Crypt::PasswdMD5 versions through 1.42 for Perl generates insecure random values for salts","x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-6659","datePublished":"2026-05-08T17:17:01.357Z","dateReserved":"2026-04-20T08:24:35.812Z","dateUpdated":"2026-05-26T22:52:31.427Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-08 18:16:34","lastModifiedDate":"2026-05-26 23:16:21","problem_types":["CWE-338","CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"6659","Ordinal":"1","Title":"Crypt::PasswdMD5 versions through 1.42 for Perl generates insecu","CVE":"CVE-2026-6659","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"6659","Ordinal":"1","NoteData":"Crypt::PasswdMD5 versions through 1.42 for Perl generates insecure random values for salts.\n\nThe built-in rand function is predictable, and unsuitable for cryptography.","Type":"Description","Title":"Crypt::PasswdMD5 versions through 1.42 for Perl generates insecu"}]}}}