CVE-2026-136158
Valkey JSON: Use-after-free in array mutation commands through a recursive JSONPath
No exploitation reported by the sources we read.
- Published2026-11-24
- WeaknessCWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-11-2414:06CVE publishedCNA
Versions per branch
Products declared by the CNA
As Akrites, the CNA that assigned this CVE, declared them in the CVE record; versions as written. NVD lists no product for this CVE yet: this is the only product data so far.
- Valkey JSONother versions: not affected
https://github.com/valkey-io/valkey-json
Affected- ≥ 1.0.0, < 1.0.3fixed in 1.0.3semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-24
Neither OSV.dev nor the vendor advisories we read list affected versions for CVE-2026-136158 yet.
Fix
No fix published by the sources we read yet. NVD record
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Metasploit modules
- none listed Metasploit Framework
Sources
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-11-24
Frequently asked questions
What is CVE-2026-136158?
Is CVE-2026-136158 actively exploited?
What is the CVSS score for CVE-2026-136158?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-134882same weekTOTOLINK A7100RU CGI cstecgi.cgi exportOvpn os command injection
- CVE-2026-120382same week
- CVE-2026-115873same weekCode injection in the Cribl Stream nested expression compiler
- CVE-2026-93584same weekUnauthenticated SQL Injection in OTRS External Survey Endpoint
- CVE-2026-115899same weekCode injection in Cribl Stream REST Collector pagination
- CVE-2026-134854same weekandreasgal node-wav WAV Decoder index.js decode memory allocation
- CVE-2026-115901same weekCross-site scripting in the Cribl Stream OIDC callback
- CVE-2026-115900same weekPrototype pollution in Cribl Stream Worker heartbeats