CVE-2026-67194
Beschrijving NL
Courier IMAP vóór 6.0.1 en Courier Mail Server vóór 2.0.2 stellen geverifieerde IMAP-gebruikers in staat om het imapd-proces te laten crashen via diep geneste SEARCH-query's tussen haakjes. De parser van het SEARCH-commando (alloc_search_key in searchinfo.C) daalt recursief af op geneste groepen tussen haakjes via een wederzijdse recursieketen met alloc_search_andlist() en alloc_search_notkey(), zonder dieptelimiet. Courier IMAP heeft geen algemene lengtelimiet voor de opdrachtregel, waardoor exploitatie eenvoudig is. Eén enkel IMAP-commando met ~2500 geneste haakjes veroorzaakt een overflow van de standaardstack van 8 MB, wat leidt tot SIGSEGV.
Origineel (Engels) tonen
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.