CVE-2026-114494
HIGH 7.8CVSS 3.1codebase-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.
- Published
- 20 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-121CWE-787
- Also known as
- GHSA-vpgh-g3jg-ggx9
- Sources
- NVDJSONCVE ListJSONOSV GHSA-vpgh-g3jg-ggx9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | DeusData | codebase-memory-mcp | = < 0.9.0 | |
| OSV | npm | codebase-memory-mcp | < 0.9.0 | 0.9.0 |
| OSV | PyPI | codebase-memory-mcp | < 0.9.0 | 0.9.0 |
References
- https://github.com/DeusData/codebase-memory-mcp/commit/e69e0844dbc1c737ebd3d17e97007d0f5cf16beb · x_refsource_MISC, WEB
- https://github.com/DeusData/codebase-memory-mcp/pull/941 · x_refsource_MISC, WEB
- https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0 · x_refsource_MISC, WEB
- https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-vpgh-g3jg-ggx9 · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-114494 · ADVISORY
- https://github.com/DeusData/codebase-memory-mcp · PACKAGE
History
- 1 Dec 2026 01:11 UTC · OSV: first stored (published 1 Dec 2026)
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 20 Nov 2026)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 20 Nov 2026)