Skip to content
Heist/ feed
Back to feed
Critical

libnet-idn-encode-perl — security advisory

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

Net::IDN::Punycode::PP versions before 2.590 for Perl decode a truncated label to a name containing a character it never encoded in decode_punycode. The pure-Perl decoder reads one digit at a time with four-argument substr and tests the result with defined to detect the end of the input. substr on an exhausted string returns the empty string rather than undef, so decoding continues past the end. The empty string converts to a digit value below the range, reducing the accumulator, and the decoder derives one extra code point and its position from it. The result is deterministic. The XS backend rejects the same label. Net::IDN::Punycode uses this backend wherever the XS does not build. The two backends disagree about what such a label means, so a sender can pick a label that one installation resolves to a name and another rejects.

Products
libnet-idn-encode-perl
Affected versions
2.202-1, 2.300-1, 2.300-1build1, 2.400-1build1, 2.500-1, 2.500-1build1, 2.500-1build2, 2.500-2, 2.500-2build1, 2.500-3, 2.500-3build1, 2.500-3build2, 2.500-5, 2.500-5build1, 2.500-5build2
Fixed versions
Not specified
CVEs
CVE-2026-87080
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:24 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-87080

core-osv · Original source

Published 22 Sept 2026, 08:16 UTC

Net::IDN::Punycode::PP versions before 2.590 for Perl decode a truncated label to a name containing a character it never encoded in decode_punycode. The pure-Perl decoder reads one digit at a time with four-argument substr and tests the result with defined to detect the end of the input. substr on an exhausted string returns the empty string rather than undef, so decoding continues past the end. The empty string converts to a digit value below the range, reducing the accumulator, and the decoder derives one extra code point and its position from it. The result is deterministic. The XS backend rejects the same label. Net::IDN::Punycode uses this backend wherever the XS does not build. The two backends disagree about what such a label means, so a sender can pick a label that one installation resolves to a name and another rejects.

osv:UBUNTU-CVE-2026-87080

libnet-idn-encode-perl

Fixed versions: Not specified

libnet-idn-encode-perl

Fixed versions: Not specified

libnet-idn-encode-perl

Fixed versions: Not specified

libnet-idn-encode-perl

Fixed versions: Not specified

libnet-idn-encode-perl

Fixed versions: Not specified

libnet-idn-encode-perl

Fixed versions: Not specified

libnet-idn-encode-perl

Fixed versions: Not specified

Complete source record
{
  "id": "7ca837282e0e13b332a0b3f675f235f0b386d2762b0e36b36a47f8b6d7f1a580",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-87080",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-87080",
    "summary": "Net::IDN::Punycode::PP versions before 2.590 for Perl decode a truncated label to a name containing a character it never encoded in decode_punycode. The pure-Perl decoder reads one digit at a time with four-argument substr and tests the result with defined to detect the end of the input. substr on an exhausted string returns the empty string rather than undef, so decoding continues past the end. The empty string converts to a digit value below the range, reducing the accumulator, and the decoder derives one extra code point and its position from it. The result is deterministic. The XS backend rejects the same label. Net::IDN::Punycode uses this backend wherever the XS does not build. The two backends disagree about what such a label means, so a sender can pick a label that one installation resolves to a name and another rejects.",
    "evidence": "osv:UBUNTU-CVE-2026-87080",
    "products": [
      {
        "name": {
          "value": "libnet-idn-encode-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.202-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.300-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.300-1build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-idn-encode-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.400-1build1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-idn-encode-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.500-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.500-1build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-idn-encode-perl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.500-1build2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.500-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2.500-2build1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-idn-encode-perl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.500-3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.500-3build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.500-3build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "2.500-5",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-idn-encode-perl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.500-5build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.500-5build2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libnet-idn-encode-perl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.500-5build1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2026-87080",
      "aliases": [
        "UBUNTU-CVE-2026-87080"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-idn-encode-perl",
            "purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2.202-1",
            "2.300-1",
            "2.300-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-idn-encode-perl",
                "binary_version": "2.300-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-idn-encode-perl",
            "purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.400-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-idn-encode-perl",
                "binary_version": "2.400-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-idn-encode-perl",
            "purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.500-1",
            "2.500-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-idn-encode-perl",
                "binary_version": "2.500-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-idn-encode-perl",
            "purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.500-1build2",
            "2.500-2",
            "2.500-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-idn-encode-perl",
                "binary_version": "2.500-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-idn-encode-perl",
            "purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2.500-3",
            "2.500-3build1",
            "2.500-3build2",
            "2.500-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-idn-encode-perl",
                "binary_version": "2.500-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-idn-encode-perl",
            "purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.500-5build1",
            "2.500-5build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-idn-encode-perl",
                "binary_version": "2.500-5build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libnet-idn-encode-perl",
            "purl": "pkg:deb/ubuntu/libnet-idn-encode-perl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.500-5build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-87080.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libnet-idn-encode-perl",
                "binary_version": "2.500-5build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:14.270432926Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-87080"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-87080",
        "https://www.cve.org/CVERecord?id=CVE-2026-87080",
        "https://lists.security.metacpan.org/cve-announce/msg/43753025/",
        "https://github.com/robrwo/Net-IDN-Encode/commit/48436c7ad2c4d4c6398110e11133754fc476a783.patch",
        "https://metacpan.org/release/PJCJ/Net-IDN-Encode-2.590-TRIAL/changes"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-87080",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 361343,
  "published_at": "2026-09-22T08:16:00+00:00"
}