{"id":"CVE-2026-67194","aliases":["CVE-2026-67194"],"related":[],"kind":"vulnerability","state":"published","title":"Courier IMAP < 6.0.1 Mail Server < 2.0.2 Stack Overflow DoS via Nested SEARCH Queries","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-07-29T16:39:09.617Z","modified":"2026-11-08T14:08:07.565Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"6.0.1","status":"affected"}],"vendor":"svarshavchik","product":"Courier IMAP","repo":"https://github.com/svarshavchik/courier","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"2.0.2","status":"affected"}],"vendor":"svarshavchik","product":"Courier Mail Server","repo":"https://github.com/svarshavchik/courier","source":"cvelist"}],"references":[{"url":"https://github.com/svarshavchik/courier/releases/tag/courier-imap%2F6.0.1%2F20260627214444","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/svarshavchik/courier/releases/tag/courier%2F2.0.2%2F20260627214309","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/svarshavchik/courier-libs/commit/b5b5581aabea3efadf5e2944947ff0214aa3533e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://packages.debian.org/sid/courier-imap","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/courier-imap-mail-server-stack-overflow-dos-via-nested-search-queries","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Tristan Madani"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-29T18:07:00.293Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-67194","url":"https://www.cve.org/CVERecord?id=CVE-2026-67194","licence":"CVE Terms of Use","modified":"2026-11-08T14:08:07.565Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-67194","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67194","licence":"Public domain","modified":"2026-07-30T20:11:09.180Z"}],"updatedAt":"2026-11-25T22:59:30.461Z","epss":{"score":0.00305,"percentile":0.25123,"date":"2026-12-01T12:00:22.000Z"}}