CVE-2026-24031
Dovecot SQL based authentication can be bypassed when auth_username_chars is cleared by admin. This vulnerability allows bypassing authentication for any user and user enumeration. Do not clear auth_username_chars. If this is not possible, install latest fixed version. No publicly available exploits are known.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | dovecot | Fixed | 1:2.4.1+dfsg1-5ubuntu4.1 | UBUNTU-CVE-2026-24031 |
| Ubuntu 24.04 | dovecot | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | dovecot | Not affected vulnerable_code_not_present | ||
| Debian 14 | dovecot | Fixed | 1:2.4.3+dfsg1-1 | DEBIAN-CVE-2026-24031 |
| Debian 13 | dovecot | Fixed | 1:2.4.1+dfsg1-6+deb13u4 | DEBIAN-CVE-2026-24031 |
| Red Hat Enterprise Linux 10 | dovecot | Not affected | ||
| Red Hat Enterprise Linux 10 | dovecot-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | dovecot-mysql | Not affected | ||
| Red Hat Enterprise Linux 10 | dovecot-pgsql | Not affected | ||
| Red Hat Enterprise Linux 10 | dovecot-pigeonhole | Not affected | ||
| Red Hat Enterprise Linux 9 | dovecot | Not affected | ||
| Red Hat Enterprise Linux 9 | dovecot-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | dovecot-mysql | Not affected | ||
| Red Hat Enterprise Linux 9 | dovecot-pgsql | Not affected | ||
| Red Hat Enterprise Linux 9 | dovecot-pigeonhole | Not affected | ||
| Red Hat Enterprise Linux 8 | dovecot | Not affected | ||
| Red Hat Enterprise Linux 8 | dovecot-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | dovecot-mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | dovecot-pgsql | Not affected | ||
| Red Hat Enterprise Linux 8 | dovecot-pigeonhole | Not affected | ||
| Red Hat Enterprise Linux 7 | dovecot | Not affected | ||
| Red Hat Enterprise Linux 7 | dovecot-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | dovecot-mysql | Not affected | ||
| Red Hat Enterprise Linux 7 | dovecot-pgsql | Not affected | ||
| Red Hat Enterprise Linux 7 | dovecot-pigeonhole | Not affected | ||
| Red Hat Enterprise Linux 6 | dovecot | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | dovecot-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | dovecot-mysql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | dovecot-pgsql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | dovecot-pigeonhole | Will not fix Will not fix | ||
| Alpine Linux 3.24 | dovecot | Fixed | 2.4.3-r0 | ALPINE-CVE-2026-24031 |
| Alpine Linux 3.23 | dovecot | Fixed | 2.4.3-r0 | ALPINE-CVE-2026-24031 |
What the vendor says
As published in the CVE record by OX, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Open-Xchange GmbH OX Dovecot Pro: affected: up to 3.1.0, up to 2.4.0
Vendor advisories:
- https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-202… (vendor-advisory)
References
- https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0001.json
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.