CVE-2026-40013

dovecot: Dovecot: Denial of Service in ManageSieve service via crafted Sieve script

Published Aug 28, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
An attacker that has valid credentials can submit a Sieve script containing an extreme numeric literal, which causes an out-of-bounds write when the ManageSieve service compiles the script. This causes memory corruption and an observed crash of the ManageSieve process, resulting in denial of service for script management. This might be able to be used for remote code execution. Disable the ManageSieve service if users do not need remote Sieve script management. Update to non-vulnerable version. No publicly available exploits are known.

Analysis

AI-generated

Technical impact

An authenticated attacker can submit a Sieve script containing an extreme numeric literal to the ManageSieve service. The service compiles the script and writes beyond the bounds of its buffer, corrupting memory and causing the ManageSieve process to crash. The observed crash constitutes a denial of service for script management, and the memory corruption could be exploited to achieve remote code execution, although no public exploits are presently known.

Affected Systems

The vulnerability affects Open‑Xchange SaaS products OX Dovecot CE and OX Dovecot Pro. No specific version numbers are provided in the advisory, so all versions that include the ManageSieve module are potentially impacted.

Risk and Exploitability

The CVSS score of 4.3 indicates a moderate severity. The EPSS score is < 1%, and the vulnerability is not listed in CISA's KEV catalog, suggesting limited exploitation activity. The attack requires valid credentials, so the vector is authenticated remote. While the primary impact is service disruption, the presence of a memory corruption flaw raises the risk of remote code execution should an attacker discover or develop an exploit. In the absence of publicly available exploits, the immediate risk is denial of service, but active monitoring is advisable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a patched or non‑vulnerable version of OX Dovecot
  • If script management is not required, disable the ManageSieve service
  • Restrict ManageSieve access to trusted users and monitor for anomalous script submissions

Generated by OpenCVE AI on September 1, 2026 at 14:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4873-1 dovecot security update
Debian DSA Debian DSA DSA-6526-1 dovecot security update
History
Type Values Removed Values Added
First Time appeared Open-xchange
Open-xchange ox Dovecot Ce
Open-xchange ox Dovecot Pro
Vendors & Products Open-xchange
Open-xchange ox Dovecot Ce
Open-xchange ox Dovecot Pro
Type Values Removed Values Added
Title Out-of-Bounds Write in ManageSieve Script Compilation Leading to Potential Remote Code Execution dovecot: Dovecot: Denial of Service in ManageSieve service via crafted Sieve script
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Out-of-Bounds Write in ManageSieve Script Compilation Leading to Potential Remote Code Execution
Type Values Removed Values Added
Description An attacker that has valid credentials can submit a Sieve script containing an extreme numeric literal, which causes an out-of-bounds write when the ManageSieve service compiles the script. This causes memory corruption and an observed crash of the ManageSieve process, resulting in denial of service for script management. This might be able to be used for remote code execution. Disable the ManageSieve service if users do not need remote Sieve script management. Update to non-vulnerable version. No publicly available exploits are known.
Weaknesses CWE-124
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-124

    Buffer Underwrite ('Buffer Underflow')

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
OX
Published
Updated
Aug 28, 2026, 3:54 PM
Reserved
Apr 8, 2026, 9:59 AM
Status
Deferred
Published
Aug 28, 2026, 12:16 PM
Modified
Sep 3, 2026, 6:13 PM
Severity
Moderate
Public date
Aug 28, 2026, 10:12 AM