AI Stack Alert High CVE-2026-114495 For AppSec, AI Eng, SOC / IR AI-assisted
CVE-2026-114495: codebase-memory-mcp heap overflow via crafted .codebase-memory artifact (fixed in 0.9.0)
codebase-memory-mcp versions prior to 0.9.0 mishandle the original_size value in a repository's .codebase-memory/ artifact.json during automatic import. The value is truncated to int before being passed to the Zstandard decompressor, which can cause writes beyond the allocated buffer. Indexing a malicious repository can corrupt heap memory, causing a crash and potentially code execution. The issue is fixed in version 0.9.0.
Why it matters
Developers and AI agents that index untrusted repositories with affected codebase-memory-mcp versions can be crashed or potentially compromised. The CVSS base score is 7.8.
Do this
- Upgrade codebase-memory-mcp to version 0.9.0 or later on all developer workstations and agent hosts.
- Inventory installed codebase-memory-mcp instances and identify any running versions earlier than 0.9.0.
- Avoid automatic indexing of repositories from untrusted sources until upgraded.
- Review logs and crash reports from indexing jobs for unexpected process terminations or memory faults.
Exploit Clock
No signals yet
- No exploitation signals yet
Signals
- NoCISA KEV
- 7.8CVSS
- NoPublic PoC
- 34/100Priority
- 70%Confidence
Evidence
“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”
“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.”
Sources
Affected / related
codebase-memory-mcp, heap memory corruption via Zstandard decompression buffer
Published 2026-11-20 20:17 UTC · updated 2026-11-20 22:35 UTC · AI-assisted summary, checked against quoted sources · How we score