Skip to content
Heist/ feed
Back to feed
Critical

Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-47372
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 12:09 UTC · Revision 1

Source evidence

Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts

core-osv · Original source

Published 20 May 2026, 22:08 UTC

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.

osv:CVE-2026-47372
Complete source record
{
  "id": "ec6b9ac33ff6fa44f91ba33fc93bde6fb82ace4ed04e4213de2c064198014c5c",
  "url": "https://osv.dev/vulnerability/CVE-2026-47372",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Crypt::SaltedHash versions through 0.09 for Perl generate insecure random values for salts",
    "summary": "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.",
    "evidence": "osv:CVE-2026-47372",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-47372",
      "aliases": [
        "CVE-2026-47372"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/robrwo/perl-crypt-saltedhash",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "9b68437d2cd420b819b3a795474c3870338d38d5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.09"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9b68437d2cd420b819b3a795474c3870338d38d5"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.09",
            "0.08",
            "0.07",
            "0.06_02",
            "v0.60.0",
            "v0.50.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47372.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.555081143Z",
      "provider": "osv",
      "references": [
        "https://cpan.org/modules",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47372.json",
        "https://metacpan.org/release/RRWO/Crypt-SaltedHash-0.10/changes",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-47372",
        "https://github.com/robrwo/perl-Crypt-SaltedHash/commit/9b68437d2cd420b819b3a795474c3870338d38d5.patch",
        "https://github.com/robrwo/perl-Crypt-SaltedHash"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-338"
        ],
        "cna_assigner": "CPANSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47372.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-47372",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 495272,
  "published_at": "2026-05-20T22:08:12.703+00:00"
}