CVE-2026-42007
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | dovecot | Under investigation | UBUNTU-CVE-2026-42007 | |
| Ubuntu 24.04 | dovecot | Under investigation | UBUNTU-CVE-2026-42007 | |
| Ubuntu 22.04 | dovecot | Under investigation | UBUNTU-CVE-2026-42007 | |
| Ubuntu 20.04 | dovecot | Fix pending | UBUNTU-CVE-2026-42007 | |
| Ubuntu 18.04 | dovecot | Fix pending | UBUNTU-CVE-2026-42007 | |
| Ubuntu 16.04 | dovecot | Fix pending | UBUNTU-CVE-2026-42007 | |
| Ubuntu 14.04 | dovecot | Fix pending | UBUNTU-CVE-2026-42007 | |
| Debian 14 | dovecot | Fixed | 1:2.4.5+dfsg1-1 | DEBIAN-CVE-2026-42007 |
| Debian 13 | dovecot | Fixed | 1:2.4.1+dfsg1-6+deb13u7 | DEBIAN-CVE-2026-42007 |
| Debian 12 | dovecot | Fixed | 1:2.3.19.1+dfsg1-2.1+deb12u7 | DEBIAN-CVE-2026-42007 |
| Red Hat Enterprise Linux 10 | dovecot | Fixed | 1:2.3.21-19.el10_2.8 | RHSA-2026:98587 |
| Red Hat Enterprise Linux 10 | dovecot-devel | Fixed | 1:2.3.21-22.el10_3 | RHSA-2026:79371 |
| Red Hat Enterprise Linux 10 | dovecot-mysql | Fixed | 1:2.3.21-19.el10_2.8 | RHSA-2026:98587 |
| Red Hat Enterprise Linux 10 | dovecot-pgsql | Fixed | 1:2.3.21-19.el10_2.8 | RHSA-2026:98587 |
| Red Hat Enterprise Linux 10 | dovecot-pigeonhole | Fixed | 1:2.3.21-22.el10_3 | RHSA-2026:79371 |
| Red Hat Enterprise Linux 9 | dovecot | Fixed | 1:2.3.16-21.el9_9 | RHSA-2026:80825 |
| Red Hat Enterprise Linux 9 | dovecot-devel | Fixed | 1:2.3.16-18.el9_8.8 | RHSA-2026:98477 |
| Red Hat Enterprise Linux 9 | dovecot-mysql | Fixed | 1:2.3.16-18.el9_8.8 | RHSA-2026:98477 |
| Red Hat Enterprise Linux 9 | dovecot-pgsql | Fixed | 1:2.3.16-18.el9_8.8 | RHSA-2026:98477 |
| Red Hat Enterprise Linux 9 | dovecot-pigeonhole | Fixed | 1:2.3.16-18.el9_8.8 | RHSA-2026:98477 |
| Red Hat Enterprise Linux 8 | dovecot | Fixed | 1:2.3.16-16.el8_10 | RHSA-2026:76763 |
| Red Hat Enterprise Linux 8 | dovecot-devel | Fixed | 1:2.3.16-16.el8_10 | RHSA-2026:76763 |
| Red Hat Enterprise Linux 8 | dovecot-mysql | Fixed | 1:2.3.16-16.el8_10 | RHSA-2026:76763 |
| Red Hat Enterprise Linux 8 | dovecot-pgsql | Fixed | 1:2.3.16-16.el8_10 | RHSA-2026:76763 |
| Red Hat Enterprise Linux 8 | dovecot-pigeonhole | Fixed | 1:2.3.16-16.el8_10 | RHSA-2026:76763 |
| Red Hat Enterprise Linux 7 | dovecot | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | dovecot-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | dovecot-mysql | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | dovecot-pgsql | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | dovecot-pigeonhole | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | dovecot | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dovecot-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dovecot-mysql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dovecot-pgsql | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | dovecot-pigeonhole | Will not fix Out of support scope | ||
| AlmaLinux 10 | dovecot | Fixed | 1:2.3.21-22.el10_3 | ALSA-2026:79371 |
| AlmaLinux 10 | dovecot-devel | Fixed | 1:2.3.21-19.el10_2.8 | ALSA-2026:98587 |
| AlmaLinux 10 | dovecot-mysql | Fixed | 1:2.3.21-22.el10_3 | ALSA-2026:79371 |
| AlmaLinux 10 | dovecot-pgsql | Fixed | 1:2.3.21-22.el10_3 | ALSA-2026:79371 |
| AlmaLinux 10 | dovecot-pigeonhole | Fixed | 1:2.3.21-22.el10_3 | ALSA-2026:79371 |
| AlmaLinux 9 | dovecot | Fixed | 1:2.3.16-21.el9_9 | ALSA-2026:80825 |
| AlmaLinux 9 | dovecot-devel | Fixed | 1:2.3.16-18.el9_8.8 | ALSA-2026:98477 |
| AlmaLinux 9 | dovecot-mysql | Fixed | 1:2.3.16-18.el9_8.8 | ALSA-2026:98477 |
| AlmaLinux 9 | dovecot-pgsql | Fixed | 1:2.3.16-18.el9_8.8 | ALSA-2026:98477 |
| AlmaLinux 9 | dovecot-pigeonhole | Fixed | 1:2.3.16-21.el9_9 | ALSA-2026:80825 |
| AlmaLinux 8 | dovecot | Fixed | 1:2.3.16-16.el8_10 | ALSA-2026:76763 |
| AlmaLinux 8 | dovecot-devel | Fixed | 1:2.3.16-16.el8_10 | ALSA-2026:76763 |
| AlmaLinux 8 | dovecot-mysql | Fixed | 1:2.3.16-16.el8_10 | ALSA-2026:76763 |
| AlmaLinux 8 | dovecot-pgsql | Fixed | 1:2.3.16-16.el8_10 | ALSA-2026:76763 |
| AlmaLinux 8 | dovecot-pigeonhole | Fixed | 1:2.3.16-16.el8_10 | ALSA-2026:76763 |
| Rocky Linux 10 | dovecot | Fixed | 1:2.3.21-22.el10_3 | RLSA-2026:98587 |
| Rocky Linux 10 | dovecot-devel | Fixed | 1:2.3.21-22.el10_3 | RLSA-2026:98587 |
| Rocky Linux 10 | dovecot-mysql | Fixed | 1:2.3.21-22.el10_3 | RLSA-2026:98587 |
| Rocky Linux 10 | dovecot-pgsql | Fixed | 1:2.3.21-22.el10_3 | RLSA-2026:98587 |
| Rocky Linux 10 | dovecot-pigeonhole | Fixed | 1:2.3.21-22.el10_3 | RLSA-2026:98587 |
| Rocky Linux 9 | dovecot | Fixed | 1:2.3.16-21.el9_9 | RLSA-2026:98477 |
| Rocky Linux 9 | dovecot-devel | Fixed | 1:2.3.16-21.el9_9 | RLSA-2026:98477 |
| Rocky Linux 9 | dovecot-mysql | Fixed | 1:2.3.16-21.el9_9 | RLSA-2026:98477 |
| Rocky Linux 9 | dovecot-pgsql | Fixed | 1:2.3.16-21.el9_9 | RLSA-2026:98477 |
| Rocky Linux 9 | dovecot-pigeonhole | Fixed | 1:2.3.16-21.el9_9 | RLSA-2026:98477 |
| Rocky Linux 8 | dovecot | Fixed | 1:2.3.16-16.el8_10 | RLSA-2026:76763 |
| Alpine Linux 3.24 | dovecot | Fixed | 2.4.5-r0 | ALPINE-CVE-2026-42007 |
| Alpine Linux 3.23 | dovecot | Fixed | 2.4.5-r0 | ALPINE-CVE-2026-42007 |
What the vendor says
As published in the CVE record by OX, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Open-Xchange GmbH OX Dovecot Pro: affected: 2.3.0 to before 2.3.22.2, 3.0.0 to before 3.0.7, 3.1.0 to before 3.1.6; fixed in
2.3.22.2,3.0.7,3.1.6 - Open-Xchange GmbH OX Dovecot CE: affected: 2.3.0 to before 2.4.5; fixed in
2.4.5
Vendor advisories:
- https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-202… (vendor-advisory)
References
- https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0003.json
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.