Out-of-bounds Write Affecting dovecot package, versions [2.3.0,2.4.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.87% (58th 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-DOVECOT-20078966
  • published24 Sept 2026
  • disclosed28 Aug 2026
  • creditUnknown

Introduced: 28 Aug 2026

CVE-2026-40013  (opens in a new tab)
CWE-787  (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 Out-of-bounds Write in the ManageSieve process when compiling a Sieve script containing an extreme numeric literal. An attacker can cause memory corruption and crash the process by submitting a specially crafted script after authenticating.

Workaround

This vulnerability can be mitigated by disabling the ManageSieve service if remote Sieve script management is not required. Remove sieve from the protocols setting in the Dovecot configuration and restart the service.

CVSS Base Scores

version 4.0
version 3.1