{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-114495","id":"CVE-2026-114495","title":"codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacity","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 de","descriptionLong":"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":"2026-11-20T19:54:54.880Z","updated":"2026-11-20T20:17:10.850Z","reserved":"2026-10-21T16:15:06.491Z","status":"Received","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"}],"rating":"high","products":["DeusData codebase-memory-mcp"],"affectedProducts":[{"vendor":"DeusData","product":"codebase-memory-mcp","defaultStatus":null,"versions":[{"version":"< 0.9.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-190","CWE-681","CWE-787"],"aliases":[],"references":[{"url":"https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-8xwq-xv2x-853r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/DeusData/codebase-memory-mcp/pull/941","tags":["x_refsource_MISC"]},{"url":"https://github.com/DeusData/codebase-memory-mcp/commit/a2f09c7ce97205147f127c2c8b12861bf74a02a3","tags":["x_refsource_MISC"]},{"url":"https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.9.0","tags":["x_refsource_MISC"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-114495","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114495","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-114495","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-114495","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}