The Codebase Memory MCP import path trusted a 64-bit compressed-artifact original-size field after conversion to a signed allocation size, allowing an attacker-supplied repository artifact to trigger an undersized buffer. The maintainer advisory documents memory corruption/crash risk and a fix in 0.9.0; arbitrary code execution is a possible impact, not an…
Inspect the ClaimsCase · DiggingBeagle record
Codebase Memory MCP decompression header could overflow allocation size
The Codebase Memory MCP import path trusted a 64-bit compressed-artifact original-size field after conversion to a signed allocation size, allowing an attacker-supplied repository artifact to trigger an undersized buffer.
New to DiggingBeagle
Public disclosure: Nov 21, 2026
Practical controlled code execution and victim exploitation are not established in the inspected advisory; risk depends on automatic artifact import and reachable attacker-controlled data.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
The maintainer described native memory corruption from an imported compressed artifact; a theoretical RCE outcome must not be reported as a verified victim. 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-ARTIFACT-OVERFLOW-METHOD · CLM-NOV23-CODEBASE-MEMORY-ARTIFACT-OVERFLOW-RESULT · Codebase Memory MCP compressed artifact import advisory
At a glance
Agent-driven repository ingestion turns opaque binary artifacts into privileged native-memory operations without a model instruction ever needing to be malicious.
Read the implicationsPractical controlled code execution and victim exploitation are not established in the inspected advisory; risk depends on automatic artifact import and reachable attacker-controlled data.
Limits and uncertaintyFull account
The Codebase Memory MCP import path trusted a 64-bit compressed-artifact original-size field after conversion to a signed allocation size, allowing an attacker-supplied repository artifact to trigger an undersized buffer.
The maintainer advisory documents memory corruption/crash risk and a fix in 0.9.0; arbitrary code execution is a possible impact, not an independently documented real-world exploitation result.
Agent-driven repository ingestion turns opaque binary artifacts into privileged native-memory operations without a model instruction ever needing to be malicious. Practical controlled code execution and victim exploitation are not established in the inspected advisory; risk depends on automatic artifact import and reachable attacker-controlled data.
Evidence and boundary review (23 November 2026). The suspicious input is a repository artifact's compressed header, not a natural-language tool instruction. Casting an untrusted original-size field to an insufficient allocation type can permit out-of-bounds writes during decompression, so repository trust and native parser hardening are distinct security controls. No verified post-exploitation payload follows from the advisory's statement of possible RCE.
Mechanism and trust boundary
- 01
Source or controlled setup
The Codebase Memory MCP import path trusted a 64-bit compressed-artifact original-size field after conversion to a signed allocation size, allowing an attacker-supplied repository artifact to trigger an undersized buffer.
Boundary: Initial model, agent or software trust surface under evaluation
- 02
Observed result and authority boundary
The maintainer advisory documents memory corruption/crash risk and a fix in 0.9.0; arbitrary code execution is a possible impact, not an independently documented real-world exploitation result.
Boundary: Agent-driven repository ingestion turns opaque binary artifacts into privileged native-memory operations without a model instruction ever needing to be malicious.
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-ARTIFACT-OVERFLOW-METHODThe Codebase Memory MCP import path trusted a 64-bit compressed-artifact original-size field after conversion to a signed allocation size, allowing an attacker-supplied repository artifact to trigger an undersized buffer.supported
Basis: reported finding
- supportsCodebase Memory MCP compressed artifact import advisoryprimary disclosure
Advisory GHSA-8xwq-xv2x-853r: original_size conversion and artifact importer
CLM-NOV23-CODEBASE-MEMORY-ARTIFACT-OVERFLOW-RESULTThe maintainer advisory documents memory corruption/crash risk and a fix in 0.9.0; arbitrary code execution is a possible impact, not an independently documented real-world exploitation result.supported
Basis: reported finding
- supportsCodebase Memory MCP compressed artifact import advisoryprimary disclosure
Affected-version and fix section: 0.9.0; demonstrated crash and possible RCE
Implications
Agent-driven repository ingestion turns opaque binary artifacts into privileged native-memory operations without a model instruction ever needing to be malicious.
Controls and mitigations
- Reject out-of-range uncompressed size headers before integer conversion and validate decompressed length against fixed allocation limits.
Unknowns and contradictions
- Practical controlled code execution and victim exploitation are not established in the inspected advisory; risk depends on automatic artifact import and reachable attacker-controlled data.
Sources and citation
Material revision history
- Nov 23, 2026 · Canonical change recorded · new in release · revision 278