Case · 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

Scope

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.

At a glance

Mechanism and trust boundary

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

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

  1. Nov 21, 2026
    Event type unspecified

    Research or security disclosure

    Original evidence was made public; the underlying tests or incidents may have taken place earlier.

  2. Nov 21, 2026
    disclosure

    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

Link to claim
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

Link to claim

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

  1. Nov 23, 2026 · Canonical change recorded · new in release · revision 278