← VULNERABILITIES

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

High · 7.8Fix available
CVSS
7.8
EPSS
0.18% (p4)
Published
2026-11-20
Age
11d old
Modified
2026-12-01
Product
DeusData codebase-memory-mcp
Aliases
GHSA-vpgh-g3jg-ggx9

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

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.

Fixed in

0.9.0

Affected packages

EcosystemPackageRangeFixed
PyPIcodebase-memory-mcp< 0.9.00.9.0
npmcodebase-memory-mcp< 0.9.00.9.0

Sources

  • NVD · first seen 11d ago · NVD terms of use
  • OSV · first seen 11d ago · CC-BY 4.0
  • GitHub Advisory Database · first seen 10h ago · CC-BY 4.0
  • CVE List · first seen 11d ago · CVE Terms of Use

References

JSON