CVE-2026-114495: codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacity
When a repository contains a .codebase-memory/ artifact, indexing it imports the artifact automatically. Before 0.9.0 the decompression buffer was allocated with the 64-bit original_size from the attacker-controlled artifact.json, but the capacity handed to the Zstandard decompressor was truncated to int. A size with bit 31 set became negative, was sign-extended back to a huge size_t, and the decompressor wrote the frame’s full content past the real allocation.
References
- github.com/DeusData/codebase-memory-mcp/commit/a2f09c7ce97205147f127c2c8b12861bf74a02a3
- github.com/DeusData/codebase-memory-mcp/pull/941
- github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0
- github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-8xwq-xv2x-853r
- github.com/advisories/GHSA-8xwq-xv2x-853r
- nvd.nist.gov/vuln/detail/CVE-2026-114495
Code Behaviors & Features
Detect and mitigate CVE-2026-114495 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →