Saltar al contenido
DayZeroHub
Alta Sin redactarCVSS 8.8CVE-2026-136158

CVE-2026-136158: Valkey JSON: Use-after-free in array mutation commands through a recursive JSONPath

Valkey Valkey JSON

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-136158: vulnerabilidad de severidad alta (CVSS 8.8) en Valkey Valkey JSON.

Qué ocurre

Descripción original de la fuente (en inglés): In Valkey JSON 1.0.0 through 1.0.2, a recursive JSONPath expression such as $..* returns both an array and elements nested inside it. The size-changing mutators (JSON.ARRAPPEND, JSON.ARRINSERT, JSON.ARRPOP, JSON.ARRTRIM and JSON.CLEAR) process the ancestor first, which can reallocate its element buffer and free the old storage while the descendant entries in the result set still point into it; the module then writes through those dangling pointers. An authenticated user who can run these commands can use this to reliably crash the server, and it has been developed into remote code execution as the user the server runs as. Servers that do not load the JSON module, including through valkey-bundle, are not affected.

Por qué importa

Severidad alta, CVSS 8.8.

Productos y versiones afectados

Valkey Valkey JSON >= 1.0.0, < 1.0.3

ProductoVersionesCorregido en
Valkey Valkey JSON>= 1.0.0, < 1.0.3—

Acción recomendada por la fuente

Consultá las referencias oficiales para conocer la corrección o mitigación.

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-416

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.