CVE-2016-15059
Desbordamiento de búfer en Net::IDN::Punycode para Perl
Crítica 9.8 Sin autenticación
Seguir: esta CVE Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.4% probabilidad de explotación en 30 días · percentil 28
- Requiere autenticación
- No
- Publicada
- 22 sep 2026
- Actualizada
- 22 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-122
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
Net::IDN::Punycode anterior a la versión 2.301 para Perl contiene un desbordamiento de búfer en el backend XS que permite corromper la memoria al codificar cadenas suministradas por un atacante. La función encode_punycode no valida correctamente los escrituras en el búfer de salida, permitiendo que un atacante remoto ejecute código arbitrario sin autenticación.
Ver el texto original de NVD (en inglés)
Net::IDN::Punycode versions before 2.301 for Perl allow a heap buffer overflow via unchecked writes past the output buffer in encode_punycode.
The XS backend builds the encoded label in the string buffer of the scalar it returns, sized from the input length. The loop that emits the digits of each code point checks for room before every write, but the write of the last digit of each round and the write of the terminating NUL do not, so an input whose encoded form fills the buffer writes past its end.
Only the XS backend is affected.
Encoding an attacker-supplied string corrupts the heap.
Qué hacer
Hay parche · versiones corregidas: 2.301
Actualiza Net::IDN::Punycode a la versión 2.301 o posterior.
- 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.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.