In codebase-memory-mcp versions before 0.9.0, the decompression capacity when importing artifacts was truncated to int, causing a heap buffer overflow
codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacity
AI summary
Versions of codebase-memory-mcp before 0.9.0 have a heap buffer overflow vulnerability (CVE-2026-114495), fixed in 0.9.0. The vulnerability stems from the Zstandard decompression capacity being truncated to int; indexing a malicious repository can corrupt heap memory, causing reliable crashes and possibly code execution. Affected versions should avoid indexing untrusted repositories containing .codebase-memory/ artifacts.