{"schemaVersion":3,"id":"CVE-2024-23185","aliases":["ALPINE-CVE-2024-23185","UBUNTU-CVE-2024-23185","DEBIAN-CVE-2024-23185"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-09-10T14:38:50.523Z","modified":"2025-11-04T16:11:13.766Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01295,"percentile":0.69937,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.010999999999999899,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01284},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01295,"percentile":0.69937}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01284,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01295,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01295,"percentile":0.69937}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"alpine","product":"dovecot","name":"dovecot","label":"dovecot","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/dovecot","purlType":"apk","versions":[{"text":"< 2.3.21.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.21.1-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"dovecot","name":"dovecot","label":"dovecot","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/dovecot","purlType":"deb","versions":[{"text":"< 1:2.3.19.1+dfsg1-2.1+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.3.21.1+dfsg1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.3.19.1+dfsg1-2.1+deb12u1 | < 1:2.3.21.1+dfsg1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"dovecot","name":"dovecot","label":"dovecot","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/dovecot","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:2.3.7.2-1ubuntu3.7","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.3.16+dfsg1-3ubuntu2.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:2.3.21+dfsg1-2ubuntu6","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1:2.3.7.2-1ubuntu3.7 | < 1:2.3.16+dfsg1-3ubuntu2.4 | < 1:2.3.21+dfsg1-2ubuntu6","eol":null,"hubHref":null},{"vendor":"open-xchange gmbh","product":"ox dovecot pro","name":"OX Dovecot Pro","label":"ox dovecot pro","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.3.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.3.21","eol":null,"hubHref":"/vendor/open-xchange_gmbh/ox_dovecot_pro"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2024/oxdc-adv-2024-0003.json","label":"documentation.open-xchange.com/dovecot/security/advisories/csaf/2024/oxdc-adv-2024-0003.json","hostname":"documentation.open-xchange.com","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/08/15/4","label":"www.openwall.com/lists/oss-security/2024/08/15/4","hostname":"www.openwall.com","tags":[]},{"url":"http://seclists.org/fulldisclosure/2024/Aug/18","label":"seclists.org/fulldisclosure/2024/Aug/18","hostname":"seclists.org","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00002.html","label":"lists.debian.org/debian-lts-announce/2024/09/msg00002.html","hostname":"lists.debian.org","tags":[]},{"url":"https://security.alpinelinux.org/vuln/CVE-2024-23185","label":"security.alpinelinux.org/vuln/CVE-2024-23185","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-23185","label":"ubuntu.com/security/CVE-2024-23185","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-23185","label":"www.cve.org/CVERecord?id=CVE-2024-23185","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2024/08/15/4","label":"www.openwall.com/lists/oss-security/2024/08/15/4","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6982-1","label":"ubuntu.com/security/notices/USN-6982-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7013-1","label":"ubuntu.com/security/notices/USN-7013-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-23185","label":"security-tracker.debian.org/tracker/CVE-2024-23185","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3860-1","DSA-5752-1","MGASA-2024-0280","OPENSUSE-SU-2024:14274-1","OPENSUSE-SU-2025:14715-1","RHSA-2024:6465","RHSA-2024:6529","RHSA-2024:6973","SUSE-SU-2024:3118-1","SUSE-SU-2026:4139-1","USN-6982-1","USN-7013-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:14274-1","OPENSUSE-SU-2025:14715-1","SUSE-SU-2024:3118-1","SUSE-SU-2026:4139-1","USN-6982-1","USN-7013-1"]},"timeline":[{"kind":"published","date":"2024-09-10T14:38:50.523Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-04T16:11:13.766Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:13:48.216Z","stale":false,"partial":false}}