CVE-2024-23184
Dovecot vulnerability analysis and mitigation

Overview

CVE-2024-23184 is a vulnerability discovered in Dovecot IMAP Server affecting versions 2.2 and 2.3, specifically in the lib-mail component. The vulnerability was internally discovered by the vendor and reported on January 30, 2024. The issue involves excessive CPU consumption when processing large numbers of address headers (From, To, Cc, Bcc, etc.) in email messages (OSS Security, NVD).

Technical details

The vulnerability is classified as CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue stems from the inefficient handling of address headers, where each header line's address is added to the end of a linked list by walking through the entire list. With 100,000 header lines, CPU usage reaches 12 seconds, and in production environments, 500,000 header lines can take up to 18 minutes to parse. The vulnerability has been assigned a CVSS v3.1 score of 5.0 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N (OSS Security, CSAF Advisory).

Impact

An external attacker can exploit this vulnerability by sending specially crafted messages that consume target system resources and potentially cause system outages. The impact primarily affects system availability due to excessive CPU consumption during email processing (CSAF Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Dovecot version 2.3.21.1. As a workaround, administrators can implement restrictions on address headers on the MTA component preceding Dovecot. A patch is available at the Dovecot GitHub repository (Full Disclosure, OSS Security).

Additional resources


SourceThis report was generated using AI

Related Dovecot vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2022-30550HIGH8.8
  • DovecotDovecot
  • dovecot23-fts
NoYesJul 17, 2022
CVE-2024-23185HIGH7.5
  • DovecotDovecot
  • dovecot-devel
NoYesSep 10, 2024
CVE-2025-30189HIGH7.4
  • DovecotDovecot
  • dovecot
NoYesOct 31, 2025
CVE-2024-23184MEDIUM5
  • DovecotDovecot
  • dovecot23
NoYesSep 10, 2024
CVE-2021-33515MEDIUM4.8
  • DovecotDovecot
  • dovecot23-backend-mysql
NoYesJun 28, 2021

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management