Elevated
codebase-memory-mcp heap overflow lets indexed malicious repositories run code
CVE-2026-114494 and 2 more
A developer code-analysis tool; a malicious repository could hack your PC.
- CVE
- CVE-2026-114494 and 2 more
- Score
- CVSS 7.8 · CVE-2026-114494
- First seen
7.8
Products
Disclosed together codebase-memory-mcp
Mitigation
Update to 0.9.0 or later; the sources recommend the verified v0.12.1. Until then, do not index untrusted repositories that contain a .codebase-memory/ artifact.
Summary
A heap buffer overflow in codebase-memory-mcp lets a malicious repository corrupt memory and possibly run code when indexed. Versions before 0.9.0 are affected. The same release also fixes a stack overflow in query_graph and a file-writing flaw in detect_changes.
Affected when
- CVE-2026-114495 indexing a repository that contains a malicious .codebase-memory/ artifact
- CVE-2026-114494 query_graph tool can be called
- CVE-2026-114496 detect_changes tool can be called
2 other Incidents of this product in the last 30 days
Incidents by product: codebase-memory-mcp
3 CVEs (every link below opens in a new tab)
Read the advisory · github.com (opens in a new tab)
Each of the 3 CVEs (every link below opens in a new tab)
- CVE-2026-114494A query with more than 32 projection items can overwrite server memory and crash the server. CVSS 7.8 CVE-2026-114494 advisory
- CVE-2026-114495Indexing a malicious repository can overwrite heap memory, crash the server, and possibly run attacker code. CVSS 7.8 CVE-2026-114495 advisory
- CVE-2026-114496A caller can create or overwrite a chosen file with Git diff output via detect_changes. CVSS 5.5 CVE-2026-114496 advisory
- Repository: googlesky/CVE-2026-114495 (opens in a new tab)
- Repository: googlesky/CVE-2026-114494 (opens in a new tab)