Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-87080 EUVD-2026-84293GHSA-m8c4-89qh-3j3f

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

Published Sep 22, 2026 · Updated Sep 22, 2026 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
— Net-IDN-Encode < 2.590 2.590

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libnet-idn-encode-perl 2.600-1 —
Debian 13 libnet-idn-encode-perl No fix yet —
Debian 12 libnet-idn-encode-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libnet-idn-encode-perl No fix yet —
Ubuntu 26.04 LTS libnet-idn-encode-perl No fix yet —
Ubuntu 24.04 LTS libnet-idn-encode-perl No fix yet —
Ubuntu 22.04 LTS libnet-idn-encode-perl No fix yet —
Ubuntu 20.04 LTS libnet-idn-encode-perl No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libnet-idn-encode-perl No fix yet —
Ubuntu 16.04 LTS libnet-idn-encode-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Net-IDN-Encode 2.600.0-1.1 openSUSE-SU-2026:12468-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 perl-Net-IDN-Encode 2.590-1.amzn2023.0.1 ALAS2023-2026-3190

Advisories 2

References