
CVE catalog
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. The XS backend allocates the scalar it returns before it validates the
- Severity
- Critical · CVSS 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.39% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libnet-idn-encode-perl | sid | 2.502-1 | vulnerable |
| Debian | libnet-idn-encode-perl | forky | 2.502-1 | vulnerable |
| Debian | libnet-idn-encode-perl | trixie | 2.500-5 | vulnerable |
| Debian | libnet-idn-encode-perl | bookworm | 2.500-3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libnet-idn-encode-perl | source | sid | (unfixed) | not yet assigned | Not reported | [1148729] |
| Debian | libnet-idn-encode-perl | source | forky | (unfixed) | not yet assigned | Not reported | [1148729] |
| Debian | libnet-idn-encode-perl | source | trixie | (unfixed) | not yet assigned | Not reported | [1148729] |
| Debian | libnet-idn-encode-perl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1148729] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libnet-idn-encode-perl]Affected
Source package: [libnet-idn-encode-perl]
Details (2)
2.500-3+b1· amd64 · bookwormAffected
nvd · libnet-idn-encode-perl · debian · bookworm; nvd · libnet-idn-encode-perl · debian · 12
2.500-3+b1· arm64 · bookwormAffected
nvd · libnet-idn-encode-perl · debian · bookworm; nvd · libnet-idn-encode-perl · debian · 12
[Debian 13 (Trixie)]
- [libnet-idn-encode-perl]Affected
Source package: [libnet-idn-encode-perl]
Details (2)
2.500-5+b1· amd64 · trixieAffected
nvd · libnet-idn-encode-perl · debian · 13
2.500-5+b1· arm64 · trixieAffected
nvd · libnet-idn-encode-perl · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-87078]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-87078]
- [https://security-tracker.debian.org/tracker/CVE-2026-87078]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-87078.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]