2026-11-30 23:55CVE-2026-129979CPANSec
PUBLISHED5.2CWE-172

Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form

Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form.

Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List.

The Public Suffix List gives internationalized rules in Unicode form, and the module does no IDNA conversion before its exact-match lookup. For the listed suffix that is "xn--55qx5d.cn" in punycode, suffix_exists is false for that spelling and split_host reports the suffix of "a.xn--55qx5d.cn" as "cn".

An attacker can have an internationalized public suffix in punycode form, the form used in DNS and HTTP, pass a check that rejects public suffixes, for example as a cookie domain.

Problem type

Affected products

< 0.99_01 - AFFECTED

References

GitHub Security Advisories

GHSA-m55x-8675-5c5c

Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in...

https://github.com/advisories/GHSA-m55x-8675-5c5c

Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form.

Net::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List.

The Public Suffix List gives internationalized rules in Unicode form, and the module does no IDNA conversion before its exact-match lookup. For the listed suffix that is "xn--55qx5d.cn" in punycode, suffix_exists is false for that spelling and split_host reports the suffix of "a.xn--55qx5d.cn" as "cn".

An attacker can have an internationalized public suffix in punycode form, the form used in DNS and HTTP, pass a check that rejects public suffixes, for example as a cookie domain.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-129979
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-129979",
    "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
    "assignerShortName": "CPANSec",
    "dateUpdated": "2026-11-30T23:55:01.794Z",
    "dateReserved": "2026-11-16T16:15:51.017Z",
    "datePublished": "2026-11-30T23:55:01.794Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "shortName": "CPANSec",
        "dateUpdated": "2026-11-30T23:55:01.794Z"
      },
      "title": "Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form",
      "descriptions": [
        {
          "lang": "en",
          "value": "Net::PublicSuffixList versions before 0.99_01 for Perl miss internationalized public suffixes in hosts given in punycode form.\n\nNet::PublicSuffixList looks up host name suffixes from the Mozilla Public Suffix List.\n\nThe Public Suffix List gives internationalized rules in Unicode form, and the module does no IDNA conversion before its exact-match lookup. For the listed suffix that is \"xn--55qx5d.cn\" in punycode, suffix_exists is false for that spelling and split_host reports the suffix of \"a.xn--55qx5d.cn\" as \"cn\".\n\nAn attacker can have an internationalized public suffix in punycode form, the form used in DNS and HTTP, pass a check that rejects public suffixes, for example as a cookie domain."
        }
      ],
      "affected": [
        {
          "collectionURL": "https://cpan.org/modules",
          "packageName": "Net-PublicSuffixList",
          "modules": [
            "Net::PublicSuffixList"
          ],
          "programFiles": [
            "lib/Net/PublicSuffixList.pm"
          ],
          "programRoutines": [
            {
              "name": "Net::PublicSuffixList::suffix_exists"
            },
            {
              "name": "Net::PublicSuffixList::suffixes_in"
            }
          ],
          "repo": "https://github.com/briandfoy/net-publicsuffixlist",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "0.99_01"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-172 Improper Encoding or Decoding of Data",
              "cweId": "CWE-172",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/briandfoy/net-publicsuffixlist/commit/7b92f6aa0de2fecccdb7c9161c3bdc6cbdc80349.patch",
          "tags": [
            "patch"
          ]
        },
        {
          "url": "https://metacpan.org/release/BRIANDFOY/Net-PublicSuffixList-1.001/changes",
          "tags": [
            "release-notes"
          ]
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "Upgrade to Net-PublicSuffixList 1.001 or later."
        }
      ]
    }
  }
}