
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40016 is a Denial of Service vulnerability in Dovecot's Sieve script processing that allows an authenticated attacker to bypass configured CPU time limits by uploading a malicious Sieve script via the ManageSieve service or through local access. The vulnerability affects Dovecot versions prior to 2.4.4 and OX Dovecot Pro versions prior to 3.1.5. It was published on May 12, 2026, with a CVSS v3.1 base score of 6.5 (Medium) per Feedly/NVD, or 5.3 (Medium) per the vendor advisory (GitHub Advisory, OX Advisory).
The root cause is CWE-400 (Uncontrolled Resource Consumption): Dovecot's Sieve script interpreter does not properly enforce CPU time limits when processing certain crafted script constructs, allowing execution to consume up to 130 times the configured CPU time limit. The attack vector is network-based via the ManageSieve protocol (typically TCP port 4190) or through local file system access to Sieve script storage. An attacker must have low-level authenticated access — either a valid ManageSieve account or local system access — to upload the malicious script. No technical write-ups or public PoC code have been identified (GitHub Advisory, OX Advisory).
Successful exploitation degrades mail server performance by consuming CPU resources at up to 130 times the configured Sieve script limit, potentially causing service disruption for all users of the affected Dovecot instance. The impact is limited to availability — there is no confidentiality or integrity impact, and the vulnerability does not enable code execution, privilege escalation, or lateral movement. Organizations relying on Dovecot for email delivery may experience degraded or unavailable IMAP/POP3 services during an active attack (GitHub Advisory, OX Advisory).
PUTSCRIPT) observed in ManageSieve session logs.dovecot, imap, lmtp) without a corresponding spike in legitimate mail volume.~/.dovecot.sieve or configured Sieve script paths) with unusual or obfuscated content.Upgrade Dovecot to version 2.4.4 or later, or OX Dovecot Pro to version 3.1.5 or later, which contain the fix for this vulnerability. As a temporary workaround, restrict or disable access to the ManageSieve service (TCP port 4190) via firewall rules or Dovecot configuration, and prevent local users from directly modifying Sieve scripts. Limiting ManageSieve access to trusted networks or authenticated administrative users reduces the attack surface until patching is feasible (OX Advisory, GitHub Advisory).
The vulnerability was disclosed via the oss-security mailing list and Seclists Full Disclosure, indicating standard coordinated disclosure practices (oss-sec, Full Disclosure). Distribution vendors including SUSE/openSUSE, Ubuntu, and Fedora have issued security updates incorporating the fix, reflecting routine patch propagation for a medium-severity issue (Ubuntu Advisory, openSUSE). No significant social media discussion or notable researcher commentary beyond standard vulnerability tracking has been observed.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."