CVE-2024-23185: Dovecot · Very large headers can cause resource exhaustion when parsing message
Affects dovecotSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 1:2.3.7.2-1ubuntu3.7 : patch dovecot soon.
Data as of 24 Nov 2026, 19:25 UTC
Thin evidence
One scorer or none| CNA (OX) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 1:2.3.7.2-1ubuntu3.7, 1:2.3.16+dfsg1-3ubuntu2.4, 1:2.3.21+dfsg1-2ubuntu6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu dovecot to 1:2.3.7.2-1ubuntu3.7 (package) or 1:2.3.16+dfsg1-3ubuntu2.4 (package) or 1:2.3.21+dfsg1-2ubuntu6 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu 18.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Ubuntu Pro 14.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Very large headers can cause resource exhaustion when parsing message. The message-parser normally reads reasonably sized chunks of the message. However, when it feeds them to message-header-parser, it starts building up "full_value" buffer out of the smaller chunks. The full_value buffer has no size limit, so large headers can cause large memory usage. It doesn't matter whether it's a single long header line, or a single header split into multiple lines. This bug exists in all Dovecot versions. Incoming mails typically have some size limits set by MTA, so even largest possible header size may still fit into Dovecot's vsz_limit. So attackers probably can't DoS a victim user this way. A user could APPEND larger mails though, allowing them to DoS themselves (although maybe cause some memory issues for the backend in general). One can implement restrictions on headers on MTA component preceding Dovecot. No publicly available exploits are known.