CVE-2024-23185

HighCVSS 7.5/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 7.5/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Sep 10, 2024
Last modified
Jun 17, 2026
NVD status
Deferred

Related CVEs from 2024

CVE-2024-231866.1E-Mail containing malicious display-name information could trigger client-side script execution when using specific mobile devices. AttackerCVE-2024-231876.1Content-ID based embedding of resources in E-Mails could be abused to trigger client-side script code when using the "show more" option. AttCVE-2024-231886.5Maliciously crafted E-Mail attachment names could be used to temporarily execute script code in the context of the users browser session. CoCVE-2024-231895.4Embedded content references at tasks could be used to temporarily execute script code in the context of the users browser session. To exploiCVE-2024-23196.1Cross-Site Scripting (XSS) vulnerability in the Django MarkdownX project, affecting version 4.0.2. An attacker could store a specially craftCVE-2024-231905.4Upsell shop information of an account can be manipulated to execute script code in the context of the users browser session. To exploit thisCVE-2024-231915.4Upsell advertisement information of an account can be manipulated to execute script code in the context of the users browser session. To expCVE-2024-231926.1RSS feeds that contain malicious data- attributes could be abused to inject script code to a users browser session when reading compromised CVE-2024-231935.3E-Mails exported as PDF were stored in a cache that did not consider specific session information for the related user account. Users of theCVE-2024-231943.3Improper output Neutralization for Logs (CWE-117) in the Command Centre API Diagnostics Endpoint could allow an attacker limited ability to CVE-2024-231964.7A race condition was found in the Linux kernel's sound/hda device driver in snd_hdac_regmap_sync() function. This can result in a null poinCVE-2024-231986.6Improper input validation in firmware for some Intel(R) PROSet/Wireless Software and Intel(R) Killer(TM) Wi-Fi products before version 23.40
CVE-2024-23185: High severity, CVSS 7.5 | Vulnix