CVE-2026-129115
Lectura de memoria liberada en JSON::XS para Perl
Crítica 9.1 Sin autenticación
Seguir: esta CVE Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 71
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 14 nov 2026
- Actualizada
- 24 nov 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-416
- 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
JSON::XS versiones 3.0 a 4.04 para Perl contienen una vulnerabilidad de lectura de memoria liberada en la función encode_rv cuando se usa allow_tags. Un atacante remoto sin autenticación puede explotar esto enviando objetos especialmente diseñados que causen realocación de pila durante la serialización, lo que permite lectura de memoria arbitraria y denegación de servicio.
Ver el texto original de NVD (en inglés)
JSON::XS versions from 3.0 before 4.05 for Perl read freed stack memory when a FREEZE result's serialisation grows the Perl stack under allow_tags in encode_rv.
With allow_tags, an object's FREEZE method is called in list context and each returned value is encoded through a saved Perl stack pointer. When encoding a returned value calls back into Perl, through TO_JSON under convert_blessed or another FREEZE, and that callback grows the stack, the stack is reallocated while the saved pointer still refers to the freed block.
Encoding such objects reads freed memory, and encode can return undef without an error.
Qué hacer
Hay parche · versiones corregidas: 4.05
Actualiza JSON::XS a la versión 4.05 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-JSON-XS-4.50.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12601-1 · 18 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.