Information disclosure in Dovecot

CVE-2025-59031

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.

Vulnerability class: Information Disclosure

EPSS: 0.003 (20.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-59031?
CVE-2025-59031 is a medium-severity vulnerability in Dovecot, classified under Information Disclosure. CVSS score: 4.3/10. Published 2026-03-27.
How severe is CVE-2025-59031?
Medium severity. CVSS v3 base score is 4.3 out of 10.