CVE-2026-87078: Net::IDN::Punycode versions from 2.302 before 2.590 for Perl leak the output buffer on every rejected label in decode_punycode
Perl Net::IDN::Punycode 2.302 before 2.590 leaks the output buffer on every rejected label.
CVE-2026-87078 affects Net::IDN::Punycode versions from 2.302 before 2.590 in the Perl Net-IDN-Encode distribution. decode_punycode leaks the output buffer on every rejected label, which can accumulate memory under repeated bad input. No in-the-wild exploitation is stated. Version 2.590 fixes the leak.
- Affects versions 2.302 through before 2.590.
- decode_punycode leaks the output buffer on rejected labels.
- Memory leak can grow under repeated invalid input.
- Fixed in Net-IDN-Encode 2.590.
Vulnerabilities mentionedAll →
- CVE-2026-870789.1—Net::IDN::Punycode versions from 2.302 before 2.590 for Perl leak the output buffer on every rejected label in decode_punycodepublished
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-87078 | Net::IDN::Punycode versions from 2.302 before 2.590 for Perl leak the output buffer on every rejected label in decode_punycode Net::IDN::Punycode versions from 2.302 before 2.590 for Perl leak the output buffer on every rejected label in decode_punycode. The XS backend allocates the scalar it returns before it validates the input, sizing the buffer at twice the input length. The scalar is released only on the success path, so each of the three croaks that reject a label leaves the scalar and its buffer allocated. Nothing bounds the label length in the to-Unicode direction, since the 63-byte DNS limit is checked only when converting to ASCII. Only the XS backend is affected. A sender who supplies invalid labels grows the process by twice the label length per rejected call, with no successful call needed. |
Posted by Paul Johnson on Sep 22 ======================================================================== https://metacpan.org/dist/Net-IDN-Encode https://github.com/robrwo/Net-IDN-Encode...
This source does not provide full text. Read it at seclists.org.