{"vuln_id":"CVE-2026-114495","aliases":["GHSA-8xwq-xv2x-853r"],"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.","published_at":"2026-11-20T20:17:10.850000Z","modified_at":"2026-11-20T20:17:10.850000Z","first_seen_at":"2026-11-21T19:15:51.429010Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-190","CWE-681","CWE-787"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00237,"epss_percentile":0.14807,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-114495"},"matched_alias":null,"items":[{"id":10019,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-114495: 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…","summary":"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.\n\nReferences:\nhttps://github.com/DeusData/codebase-memory-mcp/commit/a2f09c7ce97205147f127c2c8b12861bf74a02a3\nhttps://github.com/DeusData/codebase-memory-mcp/pull/941\nhttps://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0\nhttps://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-8xwq-xv2x-853r","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114495","published_at":"2026-11-20T20:17:10.850000Z","updated_at":"2026-11-20T20:17:10.850000Z","fetched_at":"2026-11-21T19:15:31.485501Z","severity":"high","cvss_score":7.8,"epss":0.00237,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-114495","vuln_ids":["CVE-2026-114495","GHSA-8XWQ-XV2X-853R"],"tags":["CWE-190","CWE-681","CWE-787"],"cluster_id":10054,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10019","html":"https://vulnwatch.ve1ve2.com/item/10019"}}]}