Advisory

UBUNTU-CVE-2026-40020

Also known as: CVE-2026-40020

Summary

The record has no summary.

Details

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.

Severity

Low Basis: CVSS v3 score 3.1, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2026-05-12 14:17 UTC
Modified
2026-06-02 16:00 UTC

Affected packages and fixes

dovecot

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

dovecot

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

dovecot

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

dovecot

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:2.3.16+dfsg1-3ubuntu2.9 (ecosystem)

Fixed versions

1:2.3.16+dfsg1-3ubuntu2.9

Fix

  • Fixed version 1:2.3.16+dfsg1-3ubuntu2.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dovecot

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1:2.3.21+dfsg1-2ubuntu6.5 (ecosystem)

Fixed versions

1:2.3.21+dfsg1-2ubuntu6.5

Fix

  • Fixed version 1:2.3.21+dfsg1-2ubuntu6.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dovecot

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 1:2.4.1+dfsg1-5ubuntu4.2 (ecosystem)

Fixed versions

1:2.4.1+dfsg1-5ubuntu4.2

Fix

  • Fixed version 1:2.4.1+dfsg1-5ubuntu4.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dovecot

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1:2.4.2+dfsg1-3ubuntu2.1 (ecosystem)

Fixed versions

1:2.4.2+dfsg1-3ubuntu2.1

Fix

  • Fixed version 1:2.4.2+dfsg1-3ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences