Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. codebase-memory-mcp
  4. ›
  5. CVE-2026-114494

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

December 1, 2026

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 →

Affected versions

All versions before 0.9.0

Fixed versions

  • 0.9.0

Solution

Upgrade to version 0.9.0 or above.

Impact 7.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-121: Stack-based Buffer Overflow
  • CWE-787: Out-of-bounds Write

Source file

npm/codebase-memory-mcp/CVE-2026-114494.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 02 Dec 2026 12:16:49 +0000.