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
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- metacpan.org release-notes
- github.com patch
- github.com patch
- www.openwall.com
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2538430 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-87081 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-84294 third-party-advisory