Skip to content
DayZeroHub
High Not yet writtenCVSS 7.8CVE-2026-114494

CVE-2026-114494: codebase-memory-mcp: Stack out-of-bounds write in query_graph via a RETURN or WITH clause with more than 32 items

DeusData codebase-memory-mcp

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-114494: high-severity vulnerability (CVSS 7.8) in DeusData codebase-memory-mcp.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.8.

Affected products and versions

DeusData codebase-memory-mcp < 0.9.0

ProductVersionsFixed in
DeusData codebase-memory-mcp< 0.9.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-121, CWE-787

Relevant change history

  1. Published

    Preliminary advisory published.