# 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

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-11-20T19:53:43.608Z
- Modified: 2026-12-01T00:45:07.820Z
- Also known as: GHSA-vpgh-g3jg-ggx9
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- DeusData codebase-memory-mcp: < 0.9.0
- codebase-memory-mcp (npm): before 0.9.0
- codebase-memory-mcp (PyPI): before 0.9.0

## Every score

- GitHub_M: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-vpgh-g3jg-ggx9> (web)
- <https://github.com/DeusData/codebase-memory-mcp/pull/941> (web)
- <https://github.com/DeusData/codebase-memory-mcp/commit/e69e0844dbc1c737ebd3d17e97007d0f5cf16beb> (web)
- <https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-114494> (advisory)
- <https://github.com/DeusData/codebase-memory-mcp> (package)

## Sources

- CVE List: [CVE-2026-114494](https://www.cve.org/CVERecord?id=CVE-2026-114494), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-vpgh-g3jg-ggx9](https://github.com/advisories/GHSA-vpgh-g3jg-ggx9), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-114494](https://nvd.nist.gov/vuln/detail/CVE-2026-114494), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-114494 · Whole record: https://cve.day/CVE-2026-114494.json · Rebuilt by cve.day 2026-12-01T00:57:25.866Z
