Skip to content
Fencer Intel
high 7.8

CVE-2026-114495 json

codebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacity

published 3d ago modified 16h ago also GHSA-8xwq-xv2x-853r , EUVD-2026-131805

Unreviewed: the maintainers' own advisory

Published by the maintainers on their GitHub repository DeusData/codebase-memory-mcp. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
—
no EPSS score yet
public exploits
0
none known

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.

Patch / fix

Is CVE-2026-114495 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CVSS scores

assigned by version score vector
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm codebase-memory-mcp
<0.9.0
0.9.0

Affected products

  • DeusData codebase-memory-mcp

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound
  • CWE-681 Incorrect Conversion between Numeric Types
  • CWE-787 Out-of-bounds Write

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of DeusData/codebase-memory-mcp published their own advisory on GitHub. Reviewed sources take precedence over it.