CVE-2026-67194
published high CVSS 4.0 · 7.1Courier IMAP < 6.0.1 Mail Server < 2.0.2 Stack Overflow DoS via Nested SEARCH Queries
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| svarshavchik | Courier IMAP | 0 to < 6.0.1 (affected · semver)Default: affected | VulnCheck · cna |
| svarshavchik | Courier Mail Server | 0 to < 2.0.2 (affected · semver)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-674 Uncontrolled Recursion
References
5- Patch Commit https://github.com/svarshavchik/courier-libs/commit/b5b5581aabea3efadf5e2944947ff0214aa3533e
- Courier Mail Server 2.0.2 Release Notes https://github.com/svarshavchik/courier/releases/tag/courier%2F2.0.2%2F20260627214309
- Courier IMAP 6.0.1 Release Notes https://github.com/svarshavchik/courier/releases/tag/courier-imap%2F6.0.1%2F20260627214444
- Debian Package https://packages.debian.org/sid/courier-imap
- https://www.vulncheck.com/advisories/courier-imap-mail-server-stack-overflow-dos-via-nested-search-queries
Provider assertions
2VulnCheck · cna
Courier IMAP < 6.0.1 Mail Server < 2.0.2 Stack Overflow DoS via Nested SEARCH Queries
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c7bb325261dac2f2e2dafb7a9370cf7b3d397b0588c29b1722bea08997ebe4ff
- Ingested
- 08 Nov 2026, 14:15:24 UTC
- Source record
- Official CVE record