CVE-2026-42393·Dovecot vulnerability
The comparison used for the doveadm password and API key is not fully timing safe and can reveal the length of the configured secret. An attacker with access to the same network as the doveadm service, able to make repeated requests and measure response timing accurately, can learn the length of the secret, which reduces the effort needed to guess it. The secret value itself is not disclosed. Restrict network access to the doveadm service to trusted clients. Update to non-vulnerable version. No publicly available exploits are known.
- Severity
- high
- Software
- Dovecot
- Fixed in
- 1:2.4.1+dfsg1-6+deb13u7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-42393 scores 7 on CVSS, so a successful attack would be serious — but at 0.17%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
Until: 1:2.4.1+dfsg1-6+deb13u7
Fixed in: 1:2.4.1+dfsg1-6+deb13u7
How to fix this CVE
Dovecot's doveadm password and API key comparison function is vulnerable to timing-based side-channel attacks that can leak the length of configured secrets. Upgrade to version 1:2.4.1+dfsg1-6+deb13u7 or later to remediate this vulnerability. Additionally, restrict network access to the doveadm service to only trusted administrative clients to minimize exposure during any interim patching window.
sudo dnf update dovecotDefensia detects this vulnerability
How to check if you are affected
- Run `dovecot --version` to identify the currently installed Dovecot release
- Check if doveadm is exposed on the network by running `sudo netstat -tlnp | grep doveadm` or `sudo ss -tlnp | grep doveadm`
- Review `/etc/dovecot/dovecot.conf` for the `doveadm_port` and `doveadm_password` settings to confirm if password-based authentication is configured
- After patching, re-run `dovecot --version` and confirm the version matches or exceeds 1:2.4.1+dfsg1-6+deb13u7
FAQ
What is CVE-2026-42393?
CVE-2026-42393 is a timing side-channel vulnerability in Dovecot's doveadm service where the password and API key comparison function does not use fully constant-time operations, allowing attackers on the same network to infer the length of the configured secret through repeated timing measurements.
Is CVE-2026-42393 being actively exploited?
No, CVE-2026-42393 is not listed on the CISA KEV catalog and no public exploits are currently known. However, the vulnerability requires only network access and basic timing measurement capabilities, making it a potential future target.
What versions of Dovecot are affected by CVE-2026-42393?
All Dovecot versions up to and including 1:2.4.1+dfsg1-6+deb13u6 are affected. The vulnerability is patched in version 1:2.4.1+dfsg1-6+deb13u7 and later.
How do I check if my server is vulnerable to CVE-2026-42393?
Run `dovecot --version` and compare the output against version 1:2.4.1+dfsg1-6+deb13u7. If your version is older, your system is vulnerable. Additionally, check if doveadm is exposed on the network using `sudo ss -tlnp | grep doveadm`.
Does Defensia detect CVE-2026-42393?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Dovecot is installed on a monitored server, CVE-2026-42393 will appear in your dashboard with remediation steps.
Related Dovecot CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-42393. Free for 1 server.
Get started free