NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm🐍 PyPI
Not in CISA KEV
HIGH severity

codebase-memory-mcp: Stack out-of-bounds write in query_graph via a RETURN or WITH clause with more than 32 itemsGHSA-vpgh-g3jg-ggx9

HIGHFix: DeusData/codebase-memory-mcp#941

GHSA-vpgh-g3jg-ggx9 is a high-severity (CVSS 7.8) CWE-121 vulnerability in codebase-memory-mcp. A fix is available for codebase-memory-mcp — see the affected versions and patch details below.

Also known asCVE-2026-114494
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed
Exploitation data as of Nov 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-vpgh-g3jg-ggx9.

EPSS Exploitation Probability

via FIRST.org ↗
0.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs4th percentile — riskier than 4% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
📦codebase-memory-mcp🐍codebase-memory-mcp

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm, PyPI packages — download data is not available via public APIs for these ecosystems.

Description

Summary

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.

Impact

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

Patches

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

Workarounds

Upgrade to a fixed release. codebase-memory-mcp recommends v0.12.1, which has been verified to contain this fix.

Credit

Reported privately by Aaron (@aaronjmars). codebase-memory-mcpthanks them for the thorough report and re-verification.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
📦npmcodebase-memory-mcpall versions0.9.0npm install codebase-memory-mcp@0.9.0
🐍PyPIcodebase-memory-mcpall versions0.9.0pip install --upgrade 'codebase-memory-mcp==0.9.0'

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for codebase-memory-mcp, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update codebase-memory-mcp to 0.9.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vpgh-g3jg-ggx9 is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Frequently Asked Questions

### Summary 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. ### Impact Stack memory corruption in the server process from a single tool argument: a reliable crash, and potentially worse depending on layout. Reachable
O3 Security · Impact-Aware SCA

Is GHSA-vpgh-g3jg-ggx9 in your dependencies?

Find it across npm, PyPI, including transitive dependencies.

codebase-memory-mcp: Stack out-of-bounds write in…