CVE-2026-87078
Fuga de memoria en Net::IDN::Punycode para Perl
Crítica 9.1 Sin autenticación
Seguir: esta CVE Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 22 sep 2026
- Actualizada
- 22 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-401
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Qué pasa
Net::IDN::Punycode versiones 2.302 a 2.589 en Perl presentan una fuga de memoria en el backend XS al rechazar etiquetas inválidas en decode_punycode. Un atacante remoto puede enviar etiquetas inválidas para hacer crecer el proceso sin límite, causando agotamiento de memoria y denegación de servicio.
Ver el texto original de NVD (en inglés)
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.
Qué hacer
Hay parche · versiones corregidas: 2.590
Actualiza Net::IDN::Punycode a versión 2.590 o superior.
- Revisa si usas alguno de los productos afectados y sigue el aviso del fabricante.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Boletines oficiales
- perl-Net-IDN-Encode-2.600.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12468-1 · 6 nov 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.