Skip to content
Heist/ feed
Back to feed
High

libcrypt-passwdmd5-perl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-6659

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.

Products
libcrypt-passwdmd5-perl
Affected versions
1.3-10, 1.40-1, 1.41-1, 1.42-2, 1.44-1
Fixed versions
Not specified
CVEs
CVE-2026-6659
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:13 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-6659

core-osv · Original source

Published 8 May 2026, 18:16 UTC

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.

osv:UBUNTU-CVE-2026-6659

libcrypt-passwdmd5-perl

Fixed versions: Not specified

libcrypt-passwdmd5-perl

Fixed versions: Not specified

libcrypt-passwdmd5-perl

Fixed versions: Not specified

libcrypt-passwdmd5-perl

Fixed versions: Not specified

libcrypt-passwdmd5-perl

Fixed versions: Not specified

libcrypt-passwdmd5-perl

Fixed versions: Not specified

libcrypt-passwdmd5-perl

Fixed versions: Not specified

libcrypt-passwdmd5-perl

Fixed versions: Not specified

libcrypt-passwdmd5-perl

Fixed versions: Not specified

Complete source record
{
  "id": "4068fe4d687eaf993bd071c66ab2d78778fd401308d6bd70f981323da871fec8",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-6659",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-6659",
    "summary": "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.",
    "evidence": "osv:UBUNTU-CVE-2026-6659",
    "products": [
      {
        "name": {
          "value": "libcrypt-passwdmd5-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3-10",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-passwdmd5-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3-10",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-passwdmd5-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3-10",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-passwdmd5-perl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.40-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-passwdmd5-perl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.41-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-passwdmd5-perl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.42-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-passwdmd5-perl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.42-2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-passwdmd5-perl",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.42-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.44-1",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypt-passwdmd5-perl",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.42-2",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-6659",
      "aliases": [
        "UBUNTU-CVE-2026-6659"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-passwdmd5-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=trusty",
            "ecosystem": "Ubuntu:14.04:LTS"
          },
          "versions": [
            "1.3-10"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-passwdmd5-perl",
                "binary_version": "1.3-10"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-passwdmd5-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.3-10"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-passwdmd5-perl",
                "binary_version": "1.3-10"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-passwdmd5-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.3-10"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-passwdmd5-perl",
                "binary_version": "1.3-10"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-passwdmd5-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.40-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-passwdmd5-perl",
                "binary_version": "1.40-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-passwdmd5-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.41-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-passwdmd5-perl",
                "binary_version": "1.41-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-passwdmd5-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.42-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-passwdmd5-perl",
                "binary_version": "1.42-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-passwdmd5-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.42-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-passwdmd5-perl",
                "binary_version": "1.42-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-passwdmd5-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.42-2",
            "1.44-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-passwdmd5-perl",
                "binary_version": "1.44-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypt-passwdmd5-perl",
            "purl": "pkg:deb/ubuntu/libcrypt-passwdmd5-perl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.42-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6659.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypt-passwdmd5-perl",
                "binary_version": "1.42-2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:35.336832160Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-6659"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-6659",
        "https://www.cve.org/CVERecord?id=CVE-2026-6659",
        "https://lists.security.metacpan.org/cve-announce/msg/39857355/",
        "https://metacpan.org/release/RSAVAGE/Crypt-PasswdMD5-1.42/source/lib/Crypt/PasswdMD5.pm#L35-47"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-6659",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360718,
  "published_at": "2026-05-08T18:16:00+00:00"
}