DeusData codebase-memory-mcp
codebase-memory-mcp: Stack out-of-bounds write in query_graph via a RETURN or WITH clause with more than 32 items
codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP tools. Prior to 0.9.0, the Cypher parser accepted an unbounded number of projection items in RETURN and WITH clauses while projection executors indexed fixed 32-element stack arrays using the parsed count. A query_graph query with more than 32 projection items could therefore write beyond those arrays, and a related result-column path could read uninitialized stack slots even when no node matched. Any caller of query_graph, including an agent whose query is influenced by untrusted content, could cause a reliable server crash and potentially compromise process confidentiality and integrity. This issue is fixed in version 0.9.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.9.0
Fixed in 0.9.0
Mitigation
Upgrade codebase-memory-mcp to 0.9.0 or later.
References
- Vendor advisory github.com/DeusData/codebase-memory-mcp/securi…
- Patch github.com/DeusData/codebase-memory-mcp/pull/9…
- Patch github.com/DeusData/codebase-memory-mcp/commit…
1 more
- Release notes github.com/DeusData/codebase-memory-mcp/releas…
Timeline
Days relative to CVE publicationFirst public PoC 12 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-114494 (created 2 Dec 2026, found by us: 3 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-114494 | 2 Dec 2026 +12 d | 3 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.