{"id":"UBUNTU-CVE-2026-6659","details":"Crypt::PasswdMD5 versions through 1.42 for Perl generates insecure random values for salts. The built-in rand function is predictable, and unsuitable for cryptography.","modified":"2026-05-20T16:26:50.779498814Z","published":"2026-05-08T18:16:00Z","upstream":["CVE-2026-6659"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-6659"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-6659"},{"type":"REPORT","url":"https://lists.security.metacpan.org/cve-announce/msg/39857355/"},{"type":"REPORT","url":"https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.42/source/lib/Crypt/PasswdMD5.pm#L35-47"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2026/05/08/17"}],"affected":[{"package":{"name":"libcrypt-passwdmd5-perl","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-10"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-passwdmd5-perl","binary_version":"1.3-10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"}},{"package":{"name":"libcrypt-passwdmd5-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-10"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-passwdmd5-perl","binary_version":"1.3-10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"}},{"package":{"name":"libcrypt-passwdmd5-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3-10"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-passwdmd5-perl","binary_version":"1.3-10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"}},{"package":{"name":"libcrypt-passwdmd5-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.40-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-passwdmd5-perl","binary_version":"1.40-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"}},{"package":{"name":"libcrypt-passwdmd5-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.41-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-passwdmd5-perl","binary_version":"1.41-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"}},{"package":{"name":"libcrypt-passwdmd5-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.42-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.42-2","binary_name":"libcrypt-passwdmd5-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"}},{"package":{"name":"libcrypt-passwdmd5-perl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.42-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-passwdmd5-perl","binary_version":"1.42-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"}},{"package":{"name":"libcrypt-passwdmd5-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.42-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcrypt-passwdmd5-perl","binary_version":"1.42-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}