Vulnerability · Published Sep 22, 2026 · Assigned by CPANSec

CVE-2026-87081Net::IDN::UTS46 versions before 2.590 for Perl allow CPU exhaustion via quadratic punycode encoding of an overlong label before the length check in to_ascii

High 7.5

In plain English

A high-severity security flaw in Net-IDN-Encode. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 67.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Net::IDN::UTS46 versions before 2.590 for Perl allow CPU exhaustion via quadratic punycode encoding of an overlong label before the length check in to_ascii. to_ascii punycode encodes each label and only then applies the 63-byte DNS limit. encode_punycode in both backends follows the sample implementation in RFC 3492, whose outer loop runs once per distinct non-ASCII code point and scans the whole input each round, so a label of distinct non-ASCII characters costs the square of its length before the limit rejects it. Every ASCII conversion in the distribution, including domain_to_ascii and email_to_ascii, goes through to_ascii.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libnet-idn-encode-perlno fix listedDEBIAN-CVE-2026-87081
Debian:13libnet-idn-encode-perlno fix listedDEBIAN-CVE-2026-87081
Debian:14libnet-idn-encode-perl2.600-1DEBIAN-CVE-2026-87081
Ubuntu:22.04:LTSlibnet-idn-encode-perlno fix listedUBUNTU-CVE-2026-87081
Ubuntu:24.04:LTSlibnet-idn-encode-perlno fix listedUBUNTU-CVE-2026-87081
Ubuntu:26.04:LTSlibnet-idn-encode-perlno fix listedUBUNTU-CVE-2026-87081
Ubuntu:26.10libnet-idn-encode-perlno fix listedUBUNTU-CVE-2026-87081

Affected products (as reported)

VendorProductVersions
Net-IDN-Encode 0 – before 2.590

Weakness: CWE-407 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References