Skip to content
DayZeroHub
High Not yet writtenCVSS 7.8CVE-2026-114495

CVE-2026-114495: codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacity

DeusData codebase-memory-mcp

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-114495: high-severity vulnerability (CVSS 7.8) in DeusData codebase-memory-mcp.

What happened

Original description from the source: codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP tools. Prior to 0.9.0, automatic import of a repository's .codebase-memory/ artifact allocated a decompression buffer using the attacker-controlled 64-bit original_size value from artifact.json but truncated that value to int when passing the destination capacity to the Zstandard decompressor. A value with bit 31 set became negative and was sign-extended to a large size_t, allowing the decompressor to write frame content beyond the actual allocation. Indexing a malicious repository containing the crafted artifact could corrupt heap memory with attacker-controlled bytes, causing a reliable crash and potentially code execution. This issue is fixed in version 0.9.0.

Why it matters

High severity, CVSS 7.8.

Affected products and versions

DeusData codebase-memory-mcp < 0.9.0

ProductVersionsFixed in
DeusData codebase-memory-mcp< 0.9.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-190, CWE-681, CWE-787

Relevant change history

  1. Published

    Preliminary advisory published.