Unchecked Input for Loop Condition Affecting dovecot package, versions [2.3.0,2.4.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-DOVECOT-20078953
  • published24 Sept 2026
  • disclosed28 Aug 2026
  • creditUnknown

Introduced: 28 Aug 2026

CVE-2026-40014  (opens in a new tab)
CWE-606  (opens in a new tab)

How to fix?

Upgrade dovecot to version 2.4.5 or higher.

Overview

Affected versions of this package are vulnerable to Unchecked Input for Loop Condition in the THREAD process. An attacker can cause excessive CPU consumption by sending a specially crafted email message header to a user, which is then processed by a mail client issuing a THREAD command on the affected mailbox. This can result in service degradation or unavailability for the IMAP server.

Workaround

This vulnerability can be mitigated by monitoring Dovecot processes for abnormal CPU usage, terminating the offending process, removing the malicious email from the affected mailbox, and restarting the Dovecot service if necessary.

CVSS Base Scores

version 4.0
version 3.1