CVE-2026-136158 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/valkey-io/valkey-json/pull/118 | 7fefd608-56a6-419f-a002-fd8543c0710a | |
| https://github.com/valkey-io/valkey-json/pull/120 | 7fefd608-56a6-419f-a002-fd8543c0710a | |
| https://github.com/valkey-io/valkey-json/security/advisories/GHSA-q7rf-74qm-hr9g | 7fefd608-56a6-419f-a002-fd8543c0710a |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | 7fefd608-56a6-419f-a002-fd8543c0710a |
Affected Products
No affected product data is available for this CVE.
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Dec 1, 2026 | CVE Modified | CISA-ADP |
| Dec 1, 2026 | CVE Modified | CISA-ADP |
| Nov 24, 2026 | New CVE Received | 7fefd608-56a6-419f-a002-fd8543c0710a |