{"id":"CVE-2026-47372","aliases":["DEBIAN-CVE-2026-47372","EUVD-2026-31198","GHSA-h295-pfx3-r298","UBUNTU-CVE-2026-47372","USN-8418-1","openSUSE-SU-2026:10836-1","openSUSE-SU-2026:20986-1"],"status":"published","title":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts","description":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts.\n\nThese versions use the built-in rand function, which is predictable and unsuitable for cryptography.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00397,"percentile":0.34157,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-338"],"published":"2026-05-20T22:08:12Z","modified":"2026-10-28T02:30:28Z","fixes":[{"ecosystem":"Debian:14","package":"libcrypt-saltedhash-perl","fixed_in":["0.11-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libcrypt-saltedhash-perl","fixed_in":["0.09-1ubuntu0.16.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libcrypt-saltedhash-perl","fixed_in":["0.09-1ubuntu0.18.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libcrypt-saltedhash-perl","fixed_in":["0.09-1ubuntu0.20.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libcrypt-saltedhash-perl","fixed_in":["0.09-1.1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"libcrypt-saltedhash-perl","fixed_in":["0.09-3ubuntu0.24.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:25.10","package":"libcrypt-saltedhash-perl","fixed_in":["0.09-3ubuntu0.25.10.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"libcrypt-saltedhash-perl","fixed_in":["0.09-3ubuntu0.26.04.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.09-3","0.11-1","0.12-1"]},{"source":"osv","ecosystem":"Debian:13","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.09-3","0.11-1","0.12-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11-1"}]}],"versions":["0.09-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-1ubuntu0.16.04.1~esm1"}]}],"versions":["0.09-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-1ubuntu0.18.04.1~esm1"}]}],"versions":["0.09-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-1ubuntu0.20.04.1~esm1"}]}],"versions":["0.09-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-1.1ubuntu0.1~esm1"}]}],"versions":["0.09-1.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-3ubuntu0.24.04.1~esm1"}]}],"versions":["0.09-3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-3ubuntu0.25.10.1"}]}],"versions":["0.09-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-3ubuntu0.26.04.1~esm1"}]}],"versions":["0.09-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-1ubuntu0.16.04.1~esm1"}]}],"versions":["0.09-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-1ubuntu0.18.04.1~esm1"}]}],"versions":["0.09-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-1ubuntu0.20.04.1~esm1"}]}],"versions":["0.09-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-1.1ubuntu0.1~esm1"}]}],"versions":["0.09-1.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-3ubuntu0.24.04.1~esm1"}]}],"versions":["0.09-3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-3ubuntu0.25.10.1"}]}],"versions":["0.09-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"libcrypt-saltedhash-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.09-3ubuntu0.26.04.1~esm1"}]}],"versions":["0.09-3"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"perl-Crypt-SaltedHash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.110.0-1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"perl-Crypt-SaltedHash","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.110.0-bp160.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"perl-Crypt-SysRandom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0-bp160.1.1"}]}],"bundled":2}],"products":[{"vendor":"rrwo","product":"crypt::saltedhash"}],"references":[{"url":"https://metacpan.org/release/RRWO/Crypt-SaltedHash-0.10/changes","tags":["release-notes","advisory","report"]},{"url":"https://github.com/robrwo/perl-Crypt-SaltedHash/commit/9b68437d2cd420b819b3a795474c3870338d38d5.patch","tags":["patch","fix","report"]},{"url":"http://www.openwall.com/lists/oss-security/2026/05/20/22","tags":["web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47372","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-h295-pfx3-r298"},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47372.json","tags":["advisory"]},{"url":"https://github.com/robrwo/perl-Crypt-SaltedHash","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-47372","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-47372","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-47372","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/40252126/","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8418-1","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-47372","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-47373","tags":["web"]},{"url":"https://bugzilla.suse.com/1265912","tags":["report"]},{"url":"https://bugzilla.suse.com/1265927","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-47372","title":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts","description":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts.\n\nThese versions use the built-in rand function, which is predictable and unsuitable for cryptography.","status":"published","published":"2026-05-20T22:08:12.703Z","modified":"2026-05-21T14:12:28.966Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"adp"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T13:36:40.478484Z"}],"euvd":[{"id":"EUVD-2026-31198","description":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts.\n\nThese versions use the built-in rand function, which is predictable and unsuitable for cryptography.","status":"published","published":"2026-05-20T22:08:12Z","modified":"2026-05-21T14:12:28Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T18:21:13.357667Z"}],"ghsa":[{"id":"GHSA-h295-pfx3-r298","title":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts.\n...","description":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts.\n\nThese versions use the built-in rand function, which is predictable and unsuitable for cryptography.","status":"published","published":"2026-05-21T00:30:27Z","modified":"2026-05-21T15:34:07Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:08:15.106873Z"}],"nvd":[{"id":"CVE-2026-47372","description":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts.\n\nThese versions use the built-in rand function, which is predictable and unsuitable for cryptography.","status":"published","published":"2026-05-20T22:16:37.27Z","modified":"2026-07-20T20:10:00.11Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"secondary"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:12:19.752984Z"}],"osv":[{"id":"CVE-2026-47372","title":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts","description":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts.\n\nThese versions use the built-in rand function, which is predictable and unsuitable for cryptography.","status":"published","published":"2026-05-20T22:08:12.703Z","modified":"2026-10-28T02:30:28.555081143Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:45:06.231145Z"},{"id":"DEBIAN-CVE-2026-47372","description":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts.  These versions use the built-in rand function, which is predictable and unsuitable for cryptography.","status":"published","published":"2026-05-20T22:16:37.27Z","modified":"2026-10-01T03:03:07.519954151Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T15:45:56.444225Z"},{"id":"UBUNTU-CVE-2026-47372","description":"Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts. These versions use the built-in rand function, which is predictable and unsuitable for cryptography.","status":"published","published":"2026-05-20T22:16:00Z","modified":"2026-06-11T10:45:36.173360401Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T16:56:30.797112Z"},{"id":"openSUSE-SU-2026:10836-1","title":"perl-Crypt-SaltedHash-0.110.0-1.1 on GA media","description":"These are all security issues fixed in the perl-Crypt-SaltedHash-0.110.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-05-21T00:00:00Z","modified":"2026-05-22T09:00:05.271159628Z","updated_at":"2026-11-02T16:58:38.415593Z"},{"id":"openSUSE-SU-2026:20986-1","title":"Security update for perl-Crypt-SaltedHash","description":"This update for perl-Crypt-SaltedHash fixes the following issues:\n\nChanges in perl-Crypt-SaltedHash:\n\nupdated to 0.110.0 (0.11)\n\n*  0.11      2026-05-20 14:05:07+01:00 Europe/London\n\n    - Fixed metadata\n    - Moved author tests into xt\n\n*  0.10      2026-05-19\n\n    - Maintenance taken over by Robert Rothenberg \u003cperl@rhizomnic.com\u003e\n    - Updated the Git Repository\n    - Updated copyright year\n    - Minimum Perl version is v5.6.0\n    - Added missing prerequisites, fixes RT#116392\n    - Security: Use system randomness source to generate the salt CVE-2026-47372 bsc#1265927\n    - Security: Use constant-time comparison of hashes CVE-2026-47373 bsc#1265912\n    - Deprecated module\n    - Updated README\n","status":"published","published":"2026-06-15T13:52:50Z","modified":"2026-06-24T18:24:24.445888923Z","updated_at":"2026-11-02T16:58:41.885092Z"},{"id":"USN-8418-1","title":"libcrypt-saltedhash-perl vulnerability","description":"It was discovered that Crypt-SaltedHash incorrectly generated salts using a\ncryptographically weak pseudo-random number generator. An attacker could\npossibly use this issue to predict generated salts, leading to a weakening\nof cryptographic protections.","status":"published","published":"2026-06-10T08:58:24Z","modified":"2026-06-12T09:18:53.587289398Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
