p PatchFirst

CVE-2024-23185

CVE-2024-23185

CVSS 7.5 · High · EPSS 1.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

apk list -I -o dovecot

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • SUSE-SU-2026:4139-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Server Applications 15 SP7, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • openSUSE-SU-2025:14715-1 · openSUSE Tumbleweed ·
  • RLSA-2024:6973 · Rocky Linux 8 ·
  • RHSA-2024:6973 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 crb ·
  • RHSA-2024:6529 · Red Hat Enterprise Linux 9 appstream, Red Hat Enterprise Linux 9 crb ·
  • RHSA-2024:6465 · Red Hat rhel eus 9.2 appstream, Red Hat rhel eus 9.2 crb ·
  • ALSA-2024:6973 · AlmaLinux 8 ·
  • RLSA-2024:6529 · Rocky Linux 9 ·
  • USN-7013-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS ·
  • ALSA-2024:6529 · AlmaLinux 9 ·
  • SUSE-SU-2024:3118-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Module for Server Applications 15 SP5, SUSE Linux Enterprise Module for Server Applications 15 SP6, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Manager Proxy 4.3, SUSE Manager Server 4.3 ·
  • USN-6982-1 · Ubuntu 24.04 LTS ·
  • DLA-3860-1 · Debian 11 ·
  • DSA-5752-1 · Debian 12 ·
  • openSUSE-SU-2024:14274-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • ox dovecot pro

    Versions
    • ≥ 0, ≤ 2.3.21: Affected (semver)

    No fix published

  • dovecot Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 2.3.21.1-r0

    Update to 2.3.21.1-r0

  • dovecot Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 2.3.21.1-r0

    Update to 2.3.21.1-r0

  • dovecot Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 2.3.21.1-r0

    Update to 2.3.21.1-r0

  • dovecot Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 2.3.21.1-r0

    Update to 2.3.21.1-r0

  • dovecot Debian 12

    Versions
    • 1:2.3.19.1+dfsg1-2.1
    Affected ranges
    • ECOSYSTEM: < 1:2.3.19.1+dfsg1-2.1+deb12u1

    Update to 1:2.3.19.1+dfsg1-2.1+deb12u1

  • dovecot Debian 13

    Affected ranges
    • ECOSYSTEM: < 1:2.3.21.1+dfsg1-1

    Update to 1:2.3.21.1+dfsg1-1

  • dovecot Debian 14

    Affected ranges
    • ECOSYSTEM: < 1:2.3.21.1+dfsg1-1

    Update to 1:2.3.21.1+dfsg1-1

  • dovecot Ubuntu Pro 14.04 LTS

    Versions
    • 1:2.1.7-7ubuntu3
    • 1:2.2.9-1ubuntu1
    • 1:2.2.9-1ubuntu2
    • 1:2.2.9-1ubuntu2.1
    • 1:2.2.9-1ubuntu2.3
    • 1:2.2.9-1ubuntu2.4
    All versions (12)
    • 1:2.2.9-1ubuntu2.5
    • 1:2.2.9-1ubuntu2.6
    • 1:2.2.9-1ubuntu2.6+esm1
    • 1:2.2.9-1ubuntu2.6+esm2
    • 1:2.2.9-1ubuntu2.6+esm3
    • 1:2.2.9-1ubuntu2.6+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dovecot Ubuntu 16.04 LTS

    Versions
    • 1:2.2.18-2ubuntu2
    • 1:2.2.22-1ubuntu1
    • 1:2.2.22-1ubuntu2
    • 1:2.2.22-1ubuntu2.1
    • 1:2.2.22-1ubuntu2.2
    • 1:2.2.22-1ubuntu2.3
    All versions (16)
    • 1:2.2.22-1ubuntu2.4
    • 1:2.2.22-1ubuntu2.6
    • 1:2.2.22-1ubuntu2.7
    • 1:2.2.22-1ubuntu2.8
    • 1:2.2.22-1ubuntu2.9
    • 1:2.2.22-1ubuntu2.10
    • 1:2.2.22-1ubuntu2.11
    • 1:2.2.22-1ubuntu2.12
    • 1:2.2.22-1ubuntu2.13
    • 1:2.2.22-1ubuntu2.14
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dovecot Ubuntu 18.04 LTS

    Versions
    • 1:2.2.27-3ubuntu1
    • 1:2.2.33.2-1ubuntu1
    • 1:2.2.33.2-1ubuntu2
    • 1:2.2.33.2-1ubuntu3
    • 1:2.2.33.2-1ubuntu4
    • 1:2.2.33.2-1ubuntu4.1
    All versions (13)
    • 1:2.2.33.2-1ubuntu4.2
    • 1:2.2.33.2-1ubuntu4.3
    • 1:2.2.33.2-1ubuntu4.4
    • 1:2.2.33.2-1ubuntu4.5
    • 1:2.2.33.2-1ubuntu4.6
    • 1:2.2.33.2-1ubuntu4.7
    • 1:2.2.33.2-1ubuntu4.8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • dovecot Ubuntu 20.04 LTS

    Versions
    • 1:2.3.4.1-5ubuntu3
    • 1:2.3.7.2-1ubuntu1
    • 1:2.3.7.2-1ubuntu2
    • 1:2.3.7.2-1ubuntu3
    • 1:2.3.7.2-1ubuntu3.1
    • 1:2.3.7.2-1ubuntu3.2
    All versions (10)
    • 1:2.3.7.2-1ubuntu3.3
    • 1:2.3.7.2-1ubuntu3.4
    • 1:2.3.7.2-1ubuntu3.5
    • 1:2.3.7.2-1ubuntu3.6
    Affected ranges
    • ECOSYSTEM: < 1:2.3.7.2-1ubuntu3.7

    Update to 1:2.3.7.2-1ubuntu3.7

  • dovecot Ubuntu 22.04 LTS

    Versions
    • 1:2.3.13+dfsg1-1ubuntu3
    • 1:2.3.16+dfsg1-3ubuntu1
    • 1:2.3.16+dfsg1-3ubuntu2
    • 1:2.3.16+dfsg1-3ubuntu2.1
    • 1:2.3.16+dfsg1-3ubuntu2.2
    Affected ranges
    • ECOSYSTEM: < 1:2.3.16+dfsg1-3ubuntu2.4

    Update to 1:2.3.16+dfsg1-3ubuntu2.4

  • dovecot Ubuntu 24.04 LTS

    Versions
    • 1:2.3.20+dfsg1-1ubuntu3
    • 1:2.3.21+dfsg1-2ubuntu1
    • 1:2.3.21+dfsg1-2ubuntu2
    • 1:2.3.21+dfsg1-2ubuntu4
    • 1:2.3.21+dfsg1-2ubuntu5
    Affected ranges
    • ECOSYSTEM: < 1:2.3.21+dfsg1-2ubuntu6

    Update to 1:2.3.21+dfsg1-2ubuntu6

Original sources

Check your server →