HOL-VULN-2026-0025HOL vulnerability recordCVSS 4.0 5.5 · MediumPublic

Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer in DeusData/codebase-memory-mcp

In codebase-memory-mcp below 0.10.0, the indexer's own .gitignore matcher handled the * and ** wildcards by backtracking with no bound. A pattern built from many wildcards, matched against a long path, made the matcher's work grow exponentially, so one ignore rule in a repository could stall discovery indefinitely. Indexing a malicious repository hung the indexing job and, before the daemon isolated workers, the server itself. The impact is availability only. The fix in 0.10.0 bounds the matching work. In the verified 0.12.1 release, matching runs under a shared budget of 20,000 steps; when the budget runs out, the legacy matcher returns a non-match and the checked matcher reports a limit result instead of a partial decision. The advisory lists codebase-memory-mcp below 0.10.0 as affected on npm and pip, and 0.10.0 as patched. CVE-2026-114499 is assigned.

Affected artifact
DeusData/codebase-memory-mcp — indexer .gitignore glob matchermcp server
Affected versions
codebase-memory-mcp ≥ 0 to < 0.10.0; codebase-memory-mcp ≥ 0 to < 0.10.0
Fixed in
0.10.0
Last verified
2026-12-05

Severity

CVSS 4.0 score 5.5 (Medium), scored by HOL.

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

What this means

GHSA-cjhf-76h2-4hwg / CVE-2026-114499: in codebase-memory-mcp, the .gitignore glob matcher backtracked without a bound, so a crafted pattern in a repository could stall indexing indefinitely. Fixed in 0.10.0; upgrade from below 0.10.0.

What to do

Upgrade codebase-memory-mcp to 0.10.0 or later; the advisory's verified recommendation is v0.12.1. On affected versions, do not index untrusted repositories.

Evidence

Precondition. A user indexes a repository whose .gitignore carries a crafted many-wildcard pattern, on codebase-memory-mcp below 0.10.0.

Source proof. Per the advisory, a .gitignore pattern crafted with many wildcards, matched against a long path during indexing, makes the unbounded backtracking matcher work exponentially and stalls discovery. HOL did not run the server; this rests on the advisory.

Version determination. Determined by range — The advisory states codebase-memory-mcp below 0.10.0 is affected on npm and pip, patched in 0.10.0.

Disclosure

Disclosure state: independent public · Publisher: DeusData/codebase-memory-mcp

Naming decision: named. Vendor named as drafted. Finding already public with fix published; naming call sits with this job under Nov 24-25 2026 rules.

Vendor response: fixed — Fix published in 0.10.0.

  1. 2026-11-17 · vendor action

    Maintainers published advisory GHSA-cjhf-76h2-4hwg with the fix in 0.10.0.

  2. 2026-12-05 · guard update

    Status moved from draft to triaged: Transition to triaged: record is in scope, sources are primary, finding already public and fixed upstream in 0.10.0, CVE-2026-114499 assigned.

  3. 2026-12-05 · guard update

    Status moved from triaged to evidence_verified: Transition to evidence_verified: record is in scope, sources are primary, finding already public and fixed upstream in 0.10.0, CVE-2026-114499 assigned.

  4. 2026-12-05 · disclosure

    Status moved from evidence_verified to public: Transition to public: record is in scope, sources are primary, finding already public and fixed upstream in 0.10.0, CVE-2026-114499 assigned.

Affected artifact references

Cite this record

[HOL-VULN-2026-0025] Catastrophic backtracking in .gitignore glob matching lets a repository stall the indexer in DeusData/codebase-memory-mcp — HOL Agent Vulnerability Ledger, HOL (hol.org), 2026. https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0025

Canonical URL: https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0025

Found an error in this record, or want to appeal it? Report an issue or appeal.

Appeal or correct this record

Maintainers and affected parties can submit evidence, dispute the record, or request a correction through the disclosure page. A dispute marks the record visibly disputed — it never silently disappears.

Appeal or correct HOL-VULN-2026-0025