p PatchFirst

CVE-2026-40020

CVE-2026-40020

CVSS 3.1 · Low · EPSS 0.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
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="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.

Attacker can use the IMAP SETACL command to inject the anyone permission to user's dovecot-acl file even if imap_acl_allow_anyone=no. This causes folders to be spammed to all users. The impact is limited to being able to spam folders to other users, no unexpected access is gained. Install to fixed version. 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 ·
  • SUSE-SU-2026:2645-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
  • openSUSE-SU-2026:21109-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:22185-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • DLA-4617-1 · Debian 11 ·
  • USN-8365-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, Ubuntu 26.04 LTS ·
  • DSA-6313-1 · Debian 12, Debian 13 ·
  • openSUSE-SU-2026:10766-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • ox dovecot pro

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

    No fix published

  • dovecot Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 2.4.4-r0

    Update to 2.4.4-r0

  • dovecot Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 2.4.4-r0

    Update to 2.4.4-r0

  • dovecot Debian 12

    Versions
    • 1:2.3.19.1+dfsg1-2.1
    • 1:2.3.19.1+dfsg1-2.1+deb12u1
    • 1:2.3.19.1+dfsg1-2.1+deb12u2
    • 1:2.3.19.1+dfsg1-2.1+deb12u3
    • 1:2.3.19.1+dfsg1-2.1+deb12u4
    • 1:2.3.19.1+dfsg1-2.1+deb12u5
    Affected ranges
    • ECOSYSTEM: < 1:2.3.19.1+dfsg1-2.1+deb12u6

    Update to 1:2.3.19.1+dfsg1-2.1+deb12u6

  • dovecot Debian 13

    Versions
    • 1:2.4.1+dfsg1-6
    • 1:2.4.1+dfsg1-6+deb13u1
    • 1:2.4.1+dfsg1-6+deb13u2
    • 1:2.4.1+dfsg1-6+deb13u3
    • 1:2.4.1+dfsg1-6+deb13u4
    • 1:2.4.1+dfsg1-6+deb13u5
    Affected ranges
    • ECOSYSTEM: < 1:2.4.1+dfsg1-6+deb13u6

    Update to 1:2.4.1+dfsg1-6+deb13u6

  • dovecot Debian 14

    Versions
    • 1:2.4.1+dfsg1-6
    • 1:2.4.1+dfsg1-7
    • 1:2.4.1+dfsg1-8
    • 1:2.4.1+dfsg1-9
    • 1:2.4.2+dfsg1-1
    • 1:2.4.2+dfsg1-2
    All versions (10)
    • 1:2.4.2+dfsg1-3
    • 1:2.4.2+dfsg1-4
    • 1:2.4.3+dfsg1-1
    • 1:2.4.3+dfsg1-2
    Affected ranges
    • ECOSYSTEM: < 1:2.4.4+dfsg1-1

    Update to 1:2.4.4+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 (11)
    • 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
    • 1:2.3.7.2-1ubuntu3.7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 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
    • 1:2.3.16+dfsg1-3ubuntu2.4
    All versions (9)
    • 1:2.3.16+dfsg1-3ubuntu2.6
    • 1:2.3.16+dfsg1-3ubuntu2.7
    • 1:2.3.16+dfsg1-3ubuntu2.8
    Affected ranges
    • ECOSYSTEM: < 1:2.3.16+dfsg1-3ubuntu2.9

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

  • 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
    • 1:2.3.21+dfsg1-2ubuntu6
    All versions (10)
    • 1:2.3.21+dfsg1-2ubuntu6.1
    • 1:2.3.21+dfsg1-2ubuntu6.2
    • 1:2.3.21+dfsg1-2ubuntu6.3
    • 1:2.3.21+dfsg1-2ubuntu6.4
    Affected ranges
    • ECOSYSTEM: < 1:2.3.21+dfsg1-2ubuntu6.5

    Update to 1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot Ubuntu 25.10

    Versions
    • 1:2.3.21.1+dfsg1-1ubuntu2
    • 1:2.4.1+dfsg1-5ubuntu1
    • 1:2.4.1+dfsg1-5ubuntu3
    • 1:2.4.1+dfsg1-5ubuntu4
    • 1:2.4.1+dfsg1-5ubuntu4.1
    Affected ranges
    • ECOSYSTEM: < 1:2.4.1+dfsg1-5ubuntu4.2

    Update to 1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot Ubuntu 26.04 LTS

    Versions
    • 1:2.4.1+dfsg1-5ubuntu4
    • 1:2.4.1+dfsg1-5ubuntu5
    • 1:2.4.2+dfsg1-3ubuntu1
    • 1:2.4.2+dfsg1-3ubuntu2
    Affected ranges
    • ECOSYSTEM: < 1:2.4.2+dfsg1-3ubuntu2.1

    Update to 1:2.4.2+dfsg1-3ubuntu2.1

Original sources

Check your server →