{"id":"CVE-2026-67194","published":"2026-07-29T16:39:09Z","modified":"2026-11-08T14:08:07Z","title":"Courier IMAP < 6.0.1 Mail Server < 2.0.2 Stack Overflow DoS via Nested SEARCH Queries","vendor":"svarshavchik","product":"Courier IMAP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00548,"percentile":0.39489,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/svarshavchik/courier/releases/tag/courier-imap%2F6.0.1%2F20260627214444","tags":["release-notes"]},{"url":"https://github.com/svarshavchik/courier/releases/tag/courier%2F2.0.2%2F20260627214309","tags":["release-notes"]},{"url":"https://github.com/svarshavchik/courier-libs/commit/b5b5581aabea3efadf5e2944947ff0214aa3533e","tags":["patch"]},{"url":"https://packages.debian.org/sid/courier-imap","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/courier-imap-mail-server-stack-overflow-dos-via-nested-search-queries","tags":["third-party-advisory"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":7.9},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"svarshavchik","affectedVersions":[{"vendor":"svarshavchik","product":"Courier IMAP","versions":["< 6.0.1"]},{"vendor":"svarshavchik","product":"Courier Mail Server","versions":["< 2.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-29T18:07:00.293768Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-50414","exploited":false,"provenance":"source"}}