Live threats

All CVEs

CVE-2026-87080

Incorrect decoding of truncated labels in Net::IDN::Punycode::PP

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Sep 22, 2026
Updated
Sep 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1286
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

What happens

Net::IDN::Punycode::PP versions before 2.590 incorrectly decode truncated labels, generating characters that were never encoded. The pure-Perl decoder continues processing past the end of input, deriving extra code points. This allows different installations to resolve the same label inconsistently, with one accepting it and another rejecting it.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 2.590

Update Net::IDN::Punycode::PP to version 2.590 or later.

Vendor advisory · metacpan.org ↗

  1. Check whether you run any of the affected products and follow the vendor advisory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.