CVE-2026-114495
published high CVSS 3.1 · 7.8codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacity
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| DeusData | — | codebase-memory-mcp< 0.9.0 | Affected | Not stated | GitHub_M |
Description
codebase-memory-mcp provides local code intelligence for developers and AI agents through a persistent graph and MCP tools. 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 from artifact.json but truncated that value to int when passing the destination capacity to the Zstandard decompressor. A value with bit 31 set became negative and was sign-extended to a large size_t, allowing the decompressor to write frame content beyond the actual allocation. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| DeusData | codebase-memory-mcp | < 0.9.0 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-190 CWE-190: Integer Overflow or Wraparound
- CWE-681 CWE-681: Incorrect Conversion between Numeric Types
- CWE-787 CWE-787: Out-of-bounds Write
References
4- https://github.com/DeusData/codebase-memory-mcp/commit/a2f09c7ce97205147f127c2c8b12861bf74a02a3
- https://github.com/DeusData/codebase-memory-mcp/pull/941
- https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0
- https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-8xwq-xv2x-853r
Provider assertions
2GitHub_M · cna
codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacity
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c5114670134e620cd5dd2a4bab8dcd6959f667be3dc6b41f14bbf095156f43cb
- Ingested
- 25 Nov 2026, 04:37:37 UTC
- Source record
- Official CVE record