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.
References
Configurations
No configuration.
History
24 Nov 2026, 15:19
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-24 15:17
Updated : 2026-12-01 20:18
NVD link : CVE-2026-136158
Mitre link : CVE-2026-136158
CVE.ORG link : CVE-2026-136158
JSON object : View
Products Affected
No product.
CWE
CWE-416
Use After Free
