codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer
CVE-2026-114499 · GHSA-cjhf-76h2-4hwg · published 2026-12-01
- Severity
- Medium
- CVSS score
- 5.5
- Chance of exploitation (EPSS)
- 0.29%
- Fixed in
- 0.10.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
Indexing a malicious repository hung the indexing job and, before the daemon isolated workers, the server. Availability only.
Upgrade codebase-memory-mcp to 0.10.0 or later, and codebase-memory-mcp to 0.10.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Fixed in stable 0.10.0 by bounding matching work. In the verified v0.12.1 release, matching uses a shared 20,000-step budget. On exhaustion, the legacy matcher returns a non-match; the checked matcher reports an explicit limit/exhaustion result rather than a partial matching decision. The deterministic exhaustion regression passed. This bounds the matching work; it does not claim that every expensive input is eliminated.
Upgrade to a fixed release. codebase-memory-mcp recommends v0.12.1, which has been verified to contain this fix.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| codebase-memory-mcp | npm | < 0.10.0 | 0.10.0 |
| codebase-memory-mcp | PyPI | < 0.10.0 | 0.10.0 |
- HightsParticles: Unbounded HTTP Request Body Buffering in @tsparticles/mcp-server Leads to Remote DoS@tsparticles/mcp-server
- HighMissing request-wide media budget allows single-request frontend resource exhaustionvllm
- HighMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length@modelcontextprotocol/hono, @modelcontextprotocol/node, @modelcontextprotocol/sdk, @modelcontextprotocol/server
- HighvLLM : DoS via unvalidated mm_processor_kwargs in multimodal image processors (Isaac, InternVL, H2OVL, etc.)vllm
- HighUnbounded session retention in the Streamable HTTP transport allows an initialize flood DoSio.modelcontextprotocol.sdk:mcp-core
- HighUnauthenticated unbounded tool_schemas cache growth in rmcp Streamable HTTP server transport leads to remote denial-of-servicermcp
- Highcodebase-memory-mcp: Heap buffer overflow on artifact import via int-truncated decompression capacitycodebase-memory-mcp
- Highcodebase-memory-mcp: Stack out-of-bounds write in query_graph via a RETURN or WITH clause with more than 32 itemscodebase-memory-mcp
- Mediumcodebase-memory-mcp: git option injection through base_branch in detect_changes allows writing a file outside the projectcodebase-memory-mcp
- Mediumcodebase-memory-mcp: UI process-kill route skipped the ownership check on Windows, allowing termination of arbitrary processescodebase-memory-mcp
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.