Skip to content
HighVulnerability

CVE-2026-114495: codebase-memory-mcp heap overflow via crafted .codebase-memory artifact import

Identifier
CVE-2026-114495
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

codebase-memory-mcp, a local code intelligence tool for developers and AI agents, is affected by CVE-2026-114495 in versions prior to 0.9.0. Automatic import of a repository's .codebase-memory/ artifact truncated the attacker-controlled 64-bit original_size value from artifact.json to int before passing it to the Zstandard decompressor, letting a value with bit 31 set produce an oversized write. Indexing a malicious repository with a crafted artifact can corrupt heap memory, causing a reliable crash and potentially code execution.

Mitigation

This issue is fixed in version 0.9.0.