USN-8365-1

Type: Security
Severity: Medium
Published: 2026-06-02
Ubuntu 25.10 (Questing Quokka)
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 24.04 LTS (Noble Numbat)
Ubuntu 26.04 LTS (Resolute Raccoon)

It was discovered that Dovecot incorrectly treated some variable expansion pipelines as safe in authentication filters. An attacker could possibly use this issue to perform SQL or LDAP injection attacks. This issue only affected Ubuntu 25.10 and Ubuntu 26.04 LTS. (CVE-2026-27851) It was discovered that Dovecot incorrectly verified SCRAM TLS channel binding in certain base64 exchanges. A remote attacker could possibly use this issue to obtain sensitive information in a machine-in-the-middle attack. (CVE-2026-33603) It was discovered that Dovecot incorrectly enforced Sieve script CPU limits. An attacker could possibly use this issue to cause Dovecot to use excessive resources, leading to a denial of service. (CVE-2026-40016) It was discovered that Dovecot incorrectly handled certain IMAP SETACL commands. An attacker could possibly use this issue to spam folders to other users. (CVE-2026-40020) It was discovered that Dovecot incorrectly handled excessive IMAP bracing. An attacker could possibly use this issue to cause Dovecot to use excessive resources, leading to a denial of service. (CVE-2026-42006) Update Instructions: Run `sudo pro fix USN-8365-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: dovecot-auth-lua - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-core - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-dev - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-flatcurve - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-gssapi - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-imapd - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-ldap - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-lmtpd - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-managesieved - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-mysql - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-pgsql - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-pop3d - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-sieve - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-solr - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-sqlite - 1:2.4.1+dfsg1-5ubuntu4.2 dovecot-submissiond - 1:2.4.1+dfsg1-5ubuntu4.2 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC

Official vendor advisory

Ubuntu 25.10 (Questing Quokka)

View source
Observed 2026-11-28T05:50:43.533Z UTC. Last updated 2026-06-04T11:55:09.248Z UTC.

Upstream Advisory

Affected Packages

  • dovecot-auth-lua 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-core 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-dev 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-flatcurve 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-gssapi 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-imapd 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-ldap 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-lmtpd 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-managesieved 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-mysql 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-pgsql 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-pop3d 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-sieve 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-solr 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-sqlite 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-submissiond 1:2.4.1+dfsg1-5ubuntu4.2-1:2.4.1+dfsg1-5ubuntu4.2

  • dovecot-auth-lua 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-core 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-dev 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-gssapi 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-imapd 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-ldap 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-lmtpd 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-lucene 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-managesieved 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-mysql 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-pgsql 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-pop3d 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-sieve 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-solr 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-sqlite 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-submissiond 1:2.3.16+dfsg1-3ubuntu2.9-1:2.3.16+dfsg1-3ubuntu2.9

  • dovecot-auth-lua 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-core 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-dev 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-gssapi 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-imapd 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-ldap 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-lmtpd 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-managesieved 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-mysql 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-pgsql 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-pop3d 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-sieve 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-solr 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-sqlite 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-submissiond 1:2.3.21+dfsg1-2ubuntu6.5-1:2.3.21+dfsg1-2ubuntu6.5

  • dovecot-auth-lua 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-core 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-dev 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-flatcurve 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-gssapi 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-imapd 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-ldap 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-lmtpd 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-managesieved 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-mysql 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-pgsql 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-pop3d 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-sieve 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-solr 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-sqlite 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

  • dovecot-submissiond 1:2.4.2+dfsg1-3ubuntu2.1-1:2.4.2+dfsg1-3ubuntu2.1

Interested in being alerted when there are new versions of dovecot-auth-lua and the other packages? Set up an alert.
USN-8365-1: Dovecot vulnerabilities | Package Alert