CVE-2026-87082: Net::IDN::Punycode versions before 2.590 for Perl hang, crash or return a wrong label via unvalidated malformed UTF-8 in encode_punycode
Perl Net::IDN::Punycode before 2.590 can hang, crash, or mislabel malformed UTF-8.
Paul Johnson disclosed CVE-2026-87082 in Net::IDN::Punycode, part of the Perl Net-IDN-Encode distribution, affecting versions before 2.590. The encode_punycode function does not validate malformed UTF-8 and can hang, crash, or return an incorrect label. The report was posted to oss-security with links to the MetaCPAN distribution and the robrwo/Net-IDN-Encode repository. No exploitation is described.
- Affects Net::IDN::Punycode versions before 2.590.
- encode_punycode does not validate malformed UTF-8.
- Impact is a hang, crash, or incorrect label.
- Tracked as CVE-2026-87082 in Net-IDN-Encode.
Vulnerabilities mentionedAll →
- CVE-2026-870827.5—DoS and Data Corruption in Perl Net::IDN::Punycode via Malformed UTF-8published · perl Net::IDN::Punycode
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-87082 | DoS and Data Corruption in Perl Net::IDN::Punycode via Malformed UTF-8 CVE-2026-87082 is a denial-of-service and data corruption vulnerability in the Net::IDN::Punycode Perl library. The flaw is triggered when the encode_punycode function processes malformed UTF-8 input passed through the :utf8 PerlIO layer, bypassing necessary validation checks. Depending on the Perl version and backend used, this can cause the library to hang indefinitely, crash with a panic or SIGBUS error, or return a Punycode label for a different domain name than the input. The decoder is not affected, and only direct calls to encode_punycode are vulnerable. As of now, there are no known public proofs-of-concept or reports of in-the-wild exploitation. Upgrade Net::IDN::Punycode to version 2.590 or later. If you cannot upgrade, avoid passing strings with the :utf8 PerlIO layer that may contain malformed UTF-8 to the encode_punycode function. Ensure any user-supplied input is validated as well-formed UTF-8 before processing. |
Posted by Paul Johnson on Sep 22 ======================================================================== https://metacpan.org/dist/Net-IDN-Encode https://github.com/robrwo/Net-IDN-Encode Net::IDN::Punycode...
This source does not provide full text. Read it at seclists.org.