Memory Handling Flaw in Codebase Memory MCP Affects Developers
CVE-2026-114495
7.8HIGH
What is CVE-2026-114495?
The codebase-memory-mcp tool, designed for local code intelligence, contains a vulnerability related to memory allocation that impacts versions prior to 0.9.0. Specifically, when importing a repository's artifacts, the tool improperly handles a decompression buffer by utilizing a manipulated 64-bit size value from the artifact.json. This mistake, wherein a value exceeding a certain threshold becomes negative, leads to significant memory corruption, allowing attackers to exploit this flaw and potentially execute malicious code. Users are advised to update to version 0.9.0 or later to mitigate the risks associated with this vulnerability.
Affected Version(s)
codebase-memory-mcp < 0.9.0
