Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-42007 EUVD-2026-67672GHSA-9h72-j5f4-5cpc

An attacker that has valid credentials can use a Sieve script with the editheader extension to trigger a use-after-free in the mail editing…

Published Aug 28, 2026 · Updated Aug 28, 2026 · Assigned by OX

Description

An attacker that has valid credentials can use a Sieve script with the editheader extension to trigger a use-after-free in the mail editing code, and to write memory contents beyond the intended buffer into the delivered mail. This causes memory leak and opportunity to do memory corruption during mail delivery, which can crash the delivery process and may allow execution of arbitrary code in the context of that process. Disable the Sieve editheader extension. Update to non-vulnerable version. No publicly available exploits are known.

Affected products

VendorProductAffectedFixed
Open-Xchange OX Dovecot Pro 2.3.0 – < 2.3.22.2, 3.0.0 – < 3.0.7, 3.1.0 – < 3.1.6 2.3.22.2
Open-Xchange OX Dovecot CE 2.3.0 – < 2.4.5 2.4.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dovecot 1:2.4.5+dfsg1-1 —
Debian 13 dovecot 1:2.4.1+dfsg1-6+deb13u7 —
Debian 12 dovecot 1:2.3.19.1+dfsg1-2.1+deb12u7 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS dovecot No fix yet —
Ubuntu 24.04 LTS dovecot No fix yet —
Ubuntu 22.04 LTS dovecot No fix yet —
Ubuntu 20.04 LTS dovecot No fix yet —
Ubuntu 18.04 LTS dovecot No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS dovecot No fix yet —
Ubuntu Pro 14.04 LTS dovecot No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 dovecot +4 1:2.3.21-19.el10_2.8 RHSA-2026:79371
RHEL 9 dovecot +4 1:2.3.16-18.el9_8.8 RHSA-2026:80825
RHEL 8 dovecot +4 1:2.3.16-16.el8_10 RHSA-2026:76763

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 dovecot +4 1:2.3.21-19.el10_2.8 ALSA-2026:79371
AlmaLinux 9 dovecot +4 1:2.3.16-18.el9_8.8 ALSA-2026:80825
AlmaLinux 8 dovecot +4 1:2.3.16-16.el8_10 ALSA-2026:76763

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 dovecot 1:2.3.21-19.el10_2.8 RLSA-2026:79371
Rocky Linux 9 dovecot 1:2.3.16-18.el9_8.8 RLSA-2026:80825
Rocky Linux 8 dovecot 1:2.3.16-16.el8_10 RLSA-2026:76763
ReleasePackageFixed inAdvisory
SLES 15 SP7 dovecot23 2.3.21.1-150200.76.1 SUSE-SU-2026:4139-1
SLES 15 SP6 dovecot23 2.3.21.1-150200.76.1 SUSE-SU-2026:4139-1
SLES 15 SP5 dovecot23 2.3.21.1-150200.76.1 SUSE-SU-2026:4139-1
SLES 15 SP4 dovecot23 2.3.21.1-150200.76.1 SUSE-SU-2026:4139-1
SLES 12 SP5 dovecot22 2.2.31-19.40.1 SUSE-SU-2026:3919-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 dovecot24 2.4.4-160000.2.1 SUSE-SU-2026:23595-1
SLES for SAP 15 SP6 dovecot23 2.3.21.1-150200.76.1 SUSE-SU-2026:4139-1
SLES for SAP 15 SP5 dovecot23 2.3.21.1-150200.76.1 SUSE-SU-2026:4139-1
SLES for SAP 15 SP4 dovecot23 2.3.21.1-150200.76.1 SUSE-SU-2026:4139-1
SLES 16.0 dovecot24 2.4.4-160000.2.1 SUSE-SU-2026:23595-1
SLE HPC 15 SP5 dovecot23 2.3.21.1-150200.76.1 SUSE-SU-2026:4139-1
SLE HPC 15 SP4 dovecot23 2.3.21.1-150200.76.1 SUSE-SU-2026:4139-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed dovecot24 2.4.5-1.1 openSUSE-SU-2026:11629-1
openSUSE Leap 16.0 dovecot24 2.4.4-160000.2.1 openSUSE-SU-2026:21720-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dovecot 2.4.5-r0 —
Alpine v3.23 dovecot 2.4.5-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 dovecot +4 1:2.3.20-1.amzn2023.0.4 ALAS2023-2026-3109
Amazon Linux 2 dovecot +4 1:2.2.36-6.amzn2.1.4 ALAS2-2026-3935

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 dovecot No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 dovecot +4 1:2.3.21-19.el10_2.8 ELSA-2026-79371
Oracle Linux 9 dovecot +4 1:2.3.16-18.el9_8.8 ELSA-2026-80825
Oracle Linux 8 dovecot +4 1:2.3.16-16.el8_10 ELSA-2026-76763

Advisories 20

References