CVE-2026-114495
CVE-2026-114495 · codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacity
CVSS 7.8 · High · EPSS 0.2%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- codebase-memory-mcpNo fix published
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
codebase-memory-mcp
- Versions
- < 0.9.0: Affected
No fix published
Original sources
- https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-8xwq-xv2x-853r
- https://github.com/DeusData/codebase-memory-mcp/pull/941
- https://github.com/DeusData/codebase-memory-mcp/commit/a2f09c7ce97205147f127c2c8b12861bf74a02a3
- https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-114495