# CVE-2024-23185: Very large headers can cause resource exhaustion when parsing message.

- Severity: High 7.5 (CVSS:3.1, scored by OX) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.29%, higher than 71% of CVEs (2026-12-01)
- Published: 2024-09-10T14:38:50.523Z
- Modified: 2026-06-17T07:12:15.523Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: OX

## 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.

(As written by CVE List.)

## Affected

- Open-Xchange GmbH OX Dovecot Pro: up to 2.3.21
- open-xchange ox_dovecot_pro: up to 2.3.21

## References

- <https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2024/oxdc-adv-2024-0003.json> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2024/08/15/4>
- <http://seclists.org/fulldisclosure/2024/Aug/18>
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00002.html>

## Sources

- CVE List: [CVE-2024-23185](https://www.cve.org/CVERecord?id=CVE-2024-23185), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2024-23185](https://nvd.nist.gov/vuln/detail/CVE-2024-23185), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-23185 · Whole record: https://cve.day/CVE-2024-23185.json · Rebuilt by cve.day 2026-11-25T22:58:45.237Z
