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
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
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.302, < 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.302, < 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 mitigation vendor-advisory
- Red Hat Bugzilla 2539007 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-87078 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-84291 third-party-advisory