The Codebase Memory MCP query_graph query parser could write more RETURN or WITH projection entries than its fixed stack buffer allowed. The disclosed memory corruption condition affects specified pre-0.9.0 releases and was patched in v0.9.0; available evidence does not show malicious use against production installations. A model-accessible graph query…
Inspect the ClaimsCase · DiggingBeagle record
Codebase Memory MCP query_graph exceeded a fixed projection stack buffer
The Codebase Memory MCP query_graph query parser could write more RETURN or WITH projection entries than its fixed stack buffer allowed.
New to DiggingBeagle
Public disclosure: Nov 21, 2026
An actual exploit chain and successful arbitrary code execution are not demonstrated by the cited public advisory.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
The affected graph query parser writes beyond fixed projection capacity; field exploitation and complete code-execution chain remain unverified. Grade B reflects the bounded cited original report, experiment, code change or provider statement, not independent replication of every downstream consequence. Impact band is unknown because the available Claim evidence cannot support a comparable realized-harm magnitude.
Assessed Nov 23, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-NOV23-CODEBASE-MEMORY-GRAPH-OVERFLOW-METHOD · CLM-NOV23-CODEBASE-MEMORY-GRAPH-OVERFLOW-RESULT · Codebase Memory MCP query_graph projection overflow advisory
At a glance
A model-accessible graph query parser is still native memory-unsafe software; command validity and prompt guardrails do not bound the underlying parser allocation.
Read the implicationsAn actual exploit chain and successful arbitrary code execution are not demonstrated by the cited public advisory.
Limits and uncertaintyFull account
The Codebase Memory MCP query_graph query parser could write more RETURN or WITH projection entries than its fixed stack buffer allowed.
The disclosed memory corruption condition affects specified pre-0.9.0 releases and was patched in v0.9.0; available evidence does not show malicious use against production installations.
A model-accessible graph query parser is still native memory-unsafe software; command validity and prompt guardrails do not bound the underlying parser allocation. An actual exploit chain and successful arbitrary code execution are not demonstrated by the cited public advisory.
Evidence and boundary review (23 November 2026). The second Codebase Memory issue occurs in query_graph projection parsing when RETURN or WITH expressions exceed fixed internal capacity. It shares a product and patched release with artifact decompression overflow but has a different attacker-controlled parameter and memory-corruption sink. Keeping them as separate Cases preserves the actual repair and input-validation boundary.
Mechanism and trust boundary
- 01
Source or controlled setup
The Codebase Memory MCP query_graph query parser could write more RETURN or WITH projection entries than its fixed stack buffer allowed.
Boundary: Initial model, agent or software trust surface under evaluation
- 02
Observed result and authority boundary
The disclosed memory corruption condition affects specified pre-0.9.0 releases and was patched in v0.9.0; available evidence does not show malicious use against production installations.
Boundary: A model-accessible graph query parser is still native memory-unsafe software; command validity and prompt guardrails do not bound the underlying parser allocation.
Timeline
- Nov 21, 2026Event type unspecified
Research or security disclosure
Original evidence was made public; the underlying tests or incidents may have taken place earlier.
- Nov 21, 2026disclosure
Public disclosure
Claims & evidence
CLM-NOV23-CODEBASE-MEMORY-GRAPH-OVERFLOW-METHODThe Codebase Memory MCP query_graph query parser could write more RETURN or WITH projection entries than its fixed stack buffer allowed.supported
Basis: reported finding
- supportsCodebase Memory MCP query_graph projection overflow advisoryprimary disclosure
Advisory GHSA-vpgh-g3jg-ggx9: unbounded RETURN/WITH projections in query_graph
CLM-NOV23-CODEBASE-MEMORY-GRAPH-OVERFLOW-RESULTThe disclosed memory corruption condition affects specified pre-0.9.0 releases and was patched in v0.9.0; available evidence does not show malicious use against production installations.supported
Basis: reported finding
- supportsCodebase Memory MCP query_graph projection overflow advisoryprimary disclosure
Affected-version and fix sections: v0.9.0 and memory-corruption consequence
Implications
A model-accessible graph query parser is still native memory-unsafe software; command validity and prompt guardrails do not bound the underlying parser allocation.
Controls and mitigations
- Bound the number of projection entries before populating fixed buffers and add malformed-query regression tests at the MCP tool boundary.
Unknowns and contradictions
- An actual exploit chain and successful arbitrary code execution are not demonstrated by the cited public advisory.
Sources and citation
Material revision history
- Nov 23, 2026 · Canonical change recorded · new in release · revision 278