Advisory

DEBIAN-CVE-2026-42007

Also known as: CVE-2026-42007

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:H

Dates

Published
2026-08-28 12:16 UTC
Modified
2026-10-31 16:04 UTC

Affected packages and fixes

dovecot

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1:2.3.19.1+dfsg1-2.1+deb12u7 (ecosystem)

Fixed versions

1:2.3.19.1+dfsg1-2.1+deb12u7

Fix

  • Fixed version 1:2.3.19.1+dfsg1-2.1+deb12u7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dovecot

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1:2.4.1+dfsg1-6+deb13u7 (ecosystem)

Fixed versions

1:2.4.1+dfsg1-6+deb13u7

Fix

  • Fixed version 1:2.4.1+dfsg1-6+deb13u7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

dovecot

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1:2.4.5+dfsg1-1 (ecosystem)

Fixed versions

1:2.4.5+dfsg1-1

Fix

  • Fixed version 1:2.4.5+dfsg1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences