{"id":"CVE-2026-114499","aliases":["GHSA-cjhf-76h2-4hwg"],"url":"https://o3.security/vulnerability/CVE-2026-114499","summary":"codebase-memory-mcp: Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer","details":"### Summary\n\nThe indexer's own `.gitignore` matcher implemented `*` and `**` by backtracking without a bound. A pattern crafted with many wildcards, matched against a long path, made the matcher's work grow exponentially, so a repository could stall discovery indefinitely with a single ignore rule.\n\n### Impact\n\nIndexing a malicious repository hung the indexing job and, before the daemon isolated workers, the server. Availability only.\n\n### Patches\n\nFixed 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.\n\n### Workarounds\n\nUpgrade to a fixed release. codebase-memory-mcp recommends v0.12.1, which has been verified to contain this fix.\n\n### Credit\n\nReported privately by Aaron (@aaronjmars). codebase-memory-mcp thanks them for the report and careful follow-up.","published":"2026-11-20T19:56:05.376Z","modified":"2026-11-24T20:45:26.215986601Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},"epss":{"score":0.00172,"percentile":0.03873,"asOf":"2026-11-30"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"codebase-memory-mcp","fixedVersion":"0.10.0"},{"ecosystem":"PyPI","name":"codebase-memory-mcp","fixedVersion":"0.10.0"}],"fix":{"url":"https://github.com/DeusData/codebase-memory-mcp/commit/886a8856a4e4a2ad3ba602d07e45c3b450117f6b","label":"DeusData/codebase-memory-mcp@886a885"},"references":[{"type":"WEB","url":"https://github.com/DeusData/codebase-memory-mcp/releases/tag/v0.10.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114499.json"},{"type":"ADVISORY","url":"https://github.com/DeusData/codebase-memory-mcp/security/advisories/GHSA-cjhf-76h2-4hwg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-114499"},{"type":"FIX","url":"https://github.com/DeusData/codebase-memory-mcp/commit/886a8856a4e4a2ad3ba602d07e45c3b450117f6b"},{"type":"FIX","url":"https://github.com/DeusData/codebase-memory-mcp/pull/1464"},{"type":"PACKAGE","url":"https://github.com/DeusData/codebase-memory-mcp"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-11-24T20:45:26.215986601Z"}}