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
Before 0.9.0 the Cypher parser did not bound the number of projection items in a RETURN or WITH clause, while the projection executors indexed fixed 32-element stack arrays with a loop bounded by the parsed count. A query with more than 32 projection items written through the query_graph tool wrote past those arrays. A related path read uninitialized stack slots when building result columns, even when no node matched.
References
- github.com/DeusData/codebase-memory-mcp/commit/e69e0844dbc1c737ebd3d17e97007d0f5cf16beb
- github.com/DeusData/codebase-memory-mcp/pull/941
- github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0
- github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-vpgh-g3jg-ggx9
- github.com/advisories/GHSA-vpgh-g3jg-ggx9
- nvd.nist.gov/vuln/detail/CVE-2026-114494
Code Behaviors & Features
Detect and mitigate CVE-2026-114494 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →