CVEfocus › CVE database › CVE-2025-59031

CVE-2025-59031

CVSS 4.3 MediumEPSS 0.4% (higher than 23% of CVEs)Published 2026-03-27Updated 2026-03-27Assigner: OX

Dovecot has provided a script to use for attachment to text conversion. This script unsafely handles zip-style attachments. Attacker can use specially crafted OOXML documents to cause unintended files on the system to be indexed and subsequently ending up in FTS indexes. Do not use the provided script, instead, use something else like FTS tika. No publicly available exploits are known.

CWE-200

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: 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

8Fixed
9Fix pending
5Will not fix
16Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04dovecotNot affected
vulnerable_code_not_present
Ubuntu 25.10dovecotFixed1:2.4.1+dfsg1-5ubuntu4.1UBUNTU-CVE-2025-59031
Ubuntu 24.04dovecotFixed1:2.3.21+dfsg1-2ubuntu6.3UBUNTU-CVE-2025-59031
Ubuntu 22.04dovecotFixed1:2.3.16+dfsg1-3ubuntu2.7UBUNTU-CVE-2025-59031
Ubuntu 20.04dovecotFix pendingUBUNTU-CVE-2025-59031
Ubuntu 18.04dovecotFix pendingUBUNTU-CVE-2025-59031
Ubuntu 16.04dovecotFix pendingUBUNTU-CVE-2025-59031
Ubuntu 14.04dovecotFix pendingUBUNTU-CVE-2025-59031
Debian 14dovecotFixed1:2.4.3+dfsg1-1DEBIAN-CVE-2025-59031
Debian 13dovecotFixed1:2.4.1+dfsg1-6+deb13u4DEBIAN-CVE-2025-59031
Debian 12dovecotFixed1:2.3.19.1+dfsg1-2.1+deb12u2DEBIAN-CVE-2025-59031
Red Hat Enterprise Linux 10dovecotNot affected
Red Hat Enterprise Linux 10dovecot-develNot affected
Red Hat Enterprise Linux 10dovecot-mysqlNot affected
Red Hat Enterprise Linux 10dovecot-pgsqlNot affected
Red Hat Enterprise Linux 10dovecot-pigeonholeNot affected
Red Hat Enterprise Linux 9dovecotNot affected
Red Hat Enterprise Linux 9dovecot-develNot affected
Red Hat Enterprise Linux 9dovecot-mysqlNot affected
Red Hat Enterprise Linux 9dovecot-pgsqlNot affected
Red Hat Enterprise Linux 9dovecot-pigeonholeNot affected
Red Hat Enterprise Linux 8dovecotNot affected
Red Hat Enterprise Linux 8dovecot-develNot affected
Red Hat Enterprise Linux 8dovecot-mysqlNot affected
Red Hat Enterprise Linux 8dovecot-pgsqlNot affected
Red Hat Enterprise Linux 8dovecot-pigeonholeNot affected
Red Hat Enterprise Linux 7dovecotFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-develFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-pgsqlFix pending
Fix deferred
Red Hat Enterprise Linux 7dovecot-pigeonholeFix pending
Fix deferred
Red Hat Enterprise Linux 6dovecotWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6dovecot-pigeonholeWill not fix
Out of support scope
Alpine Linux 3.24dovecotFixed2.4.3-r0ALPINE-CVE-2025-59031
Alpine Linux 3.23dovecotFixed2.4.3-r0ALPINE-CVE-2025-59031

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.

Vendor advisories:

References

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.