{"id":"CVE-2026-114494","aliases":["GHSA-vpgh-g3jg-ggx9"],"url":"https://o3.security/vulnerability/CVE-2026-114494","summary":"codebase-memory-mcp: Stack out-of-bounds write in query_graph via a RETURN or WITH clause with more than 32 items","details":"### Summary\n\nBefore 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.\n\n### Impact\n\nStack memory corruption in the server process from a single tool argument: a reliable crash, and potentially worse depending on layout. Reachable by any caller of `query_graph`, including an agent whose queries are influenced by untrusted content.\n\n### Patches\n\nFixed in stable 0.9.0. Projection counts are checked before execution. In the verified v0.12.1 release, RETURN is bounded to 32 items and WITH to 16 items; oversized clauses are rejected rather than silently truncated. Both projection-limit regressions passed in the release-source verification.\n\n### Workarounds\n\nUpgrade to a fixed release. codebase-memory-mcp recommends v0.12.1, which has been verified to contain this fix.\n\n### Credit\n\nReported privately by Aaron (@aaronjmars). codebase-memory-mcpthanks them for the thorough report and re-verification.","published":"2026-11-20T19:53:43.608Z","modified":"2026-11-21T21:00:19.737680617Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.00175,"percentile":0.04084,"asOf":"2026-11-30"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"codebase-memory-mcp","fixedVersion":"0.9.0"},{"ecosystem":"PyPI","name":"codebase-memory-mcp","fixedVersion":"0.9.0"}],"fix":{"url":"https://github.com/DeusData/codebase-memory-mcp/commit/e69e0844dbc1c737ebd3d17e97007d0f5cf16beb","label":"DeusData/codebase-memory-mcp@e69e084"},"references":[{"type":"WEB","url":"https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114494.json"},{"type":"ADVISORY","url":"https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-vpgh-g3jg-ggx9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114494"},{"type":"FIX","url":"https://github.com/DeusData/codebase-memory-mcp/commit/e69e0844dbc1c737ebd3d17e97007d0f5cf16beb"},{"type":"FIX","url":"https://github.com/DeusData/codebase-memory-mcp/pull/941"},{"type":"PACKAGE","url":"https://github.com/DeusData/codebase-memory-mcp"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-21T21:00:19.737680617Z"}}