Skip to main content
CVE-2026-42007VulnerabilityPublished Updated

Dovecot: An attacker that has valid credentials can use a Sieve script with the editheader extension to trigger a

Affects dovecotSource GCVE Database

0
Compare
Authoritative record:CVE-2026-42007· Critical 9.1

Not known to be exploited · CVSS 9.1 Critical.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=resoluteOther threatsAffected
  • 1:2.4.1+dfsg1-5ubuntu4 – 1:2.4.2+dfsg1-3ubuntu2.1
5 affected builds
Fixed in–
Ubuntu 24.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=nobleOther threatsAffected
  • 1:2.3.20+dfsg1-1ubuntu3 – 1:2.3.21+dfsg1-2ubuntu6.5
11 affected builds
Fixed in–
Ubuntu 22.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=jammyOther threatsAffected
  • 1:2.3.13+dfsg1-1ubuntu3 – 1:2.3.16+dfsg1-3ubuntu2.9
10 affected builds
Fixed in–
Ubuntu 20.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=focalOther threatsAffected
  • 1:2.3.4.1-5ubuntu3 – 1:2.3.7.2-1ubuntu3.7
11 affected builds
Fixed in–
Ubuntu 18.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=bionicOther threatsAffected
  • 1:2.2.27-3ubuntu1 – 1:2.2.33.2-1ubuntu4.8
13 affected builds
Fixed in–
Ubuntu 16.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=xenialOther threatsAffected
  • 1:2.2.18-2ubuntu2 – 1:2.2.22-1ubuntu2.14
16 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…