{
  "id": "CVE-2026-67194",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-67194",
  "published_at": "2026-07-29T16:39:09.617Z",
  "title": "Courier IMAP \u003c 6.0.1 Mail Server \u003c 2.0.2 Stack Overflow DoS via Nested SEARCH Queries",
  "vendor": "svarshavchik",
  "product": "Courier IMAP",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Courier IMAP before 6.0.1 and Courier Mail Server before 2.0.2 allow authenticated IMAP users to crash the imapd process via deeply nested parenthesized SEARCH queries. The SEARCH command parser (alloc_search_key in searchinfo.C) recursively descends on nested parenthesized groups through a mutual recursion chain with alloc_search_andlist() and alloc_search_notkey(), with no depth limit. Courier IMAP has no overall command line length limit, making exploitation trivial. A single IMAP command with ~2500 nested parentheses overflows the 8MB default stack, causing SIGSEGV.",
  "cwe": "CWE-674",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "svarshavchik",
        "product": "Courier IMAP",
        "ranges": [
          "\u003c 6.0.1"
        ],
        "fixed_in": [
          "6.0.1"
        ]
      },
      {
        "vendor": "svarshavchik",
        "product": "Courier Mail Server",
        "ranges": [
          "\u003c 2.0.2"
        ],
        "fixed_in": [
          "2.0.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Courier IMAP to 6.0.1 or later.",
      "Upgrade Courier Mail Server to 2.0.2 or later."
    ],
    "references": [
      {
        "kind": "Release notes",
        "url": "https://github.com/svarshavchik/courier/releases/tag/courier-imap%2F6.0.1%2F20260627214444"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/svarshavchik/courier/releases/tag/courier%2F2.0.2%2F20260627214309"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/svarshavchik/courier-libs/commit/b5b5581aabea3efadf5e2944947ff0214aa3533e"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
