Skip to content

CVE-2026-87081 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

HighCVSS 7.5 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/libnet-idn-encode-perl(Debian 12) = 2.500-3; = 2.500-5; = 2.502-1; = 2.600-1 +1 more No fix listed No fix yet
debian/libnet-idn-encode-perl(Debian 13) = 2.500-5; = 2.502-1; = 2.600-1; All versions No fix listed No fix yet
ubuntu/libnet-idn-encode-perl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libnet-idn-encode-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libnet-idn-encode-perl(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libnet-idn-encode-perl(Ubuntu 26.10) All versions No fix listed No fix yet
cpan Net-IDN-Encode < 2.590 2.590 Fixed
debian/libnet-idn-encode-perl(Debian 14) < 2.600-1; = 2.500-5; = 2.502-1 2.600-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Net-IDN-Encode < 2.590 2.590
debian/libnet-idn-encode-perl(Debian:12) All versions No fix listed
debian/libnet-idn-encode-perl(Debian:12) = 2.500-3 No fix listed
debian/libnet-idn-encode-perl(Debian:12) = 2.500-5 No fix listed
debian/libnet-idn-encode-perl(Debian:12) = 2.502-1 No fix listed
debian/libnet-idn-encode-perl(Debian:12) = 2.600-1 No fix listed
debian/libnet-idn-encode-perl(Debian:13) All versions No fix listed
debian/libnet-idn-encode-perl(Debian:13) = 2.500-5 No fix listed
debian/libnet-idn-encode-perl(Debian:13) = 2.502-1 No fix listed
debian/libnet-idn-encode-perl(Debian:13) = 2.600-1 No fix listed
debian/libnet-idn-encode-perl(Debian:14) < 2.600-1 2.600-1
debian/libnet-idn-encode-perl(Debian:14) = 2.500-5 No fix listed
debian/libnet-idn-encode-perl(Debian:14) = 2.502-1 No fix listed
ubuntu/libnet-idn-encode-perl(Ubuntu:22.04) All versions No fix listed
ubuntu/libnet-idn-encode-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libnet-idn-encode-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libnet-idn-encode-perl(Ubuntu:26.10) All versions No fix listed

References