CVE-2025-59031
Received Received - Intake
Unsafe Zip Attachment Handling in Dovecot Causes FTS Indexing Exposure

Publication date: 2026-03-27

Last updated on: 2026-04-29

Assigner: Open-Xchange

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-27
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-03-27
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
dovecot dovecot to 2.4.3 (exc)
open-xchange dovecot From 3.0.0 (inc) to 3.1.3 (exc)
open-xchange dovecot to 2.3.22.1 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-200 The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-59031 is a security vulnerability in OX Dovecot related to the script provided for attachment-to-text conversion. This script unsafely handles zip-style attachments, allowing an attacker to craft specially designed OOXML documents that cause the script to follow symbolic links and read unintended files on the system.

As a result, these unintended files may be indexed and included in Full Text Search (FTS) indexes, potentially exposing sensitive information to unauthorized actors.

The vulnerability is classified under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor). The vendor recommends not using the vulnerable script and instead using safer alternatives like FTS tika.


How can this vulnerability impact me? :

This vulnerability can lead to unintended files on the system being indexed and included in Full Text Search indexes, which may expose sensitive or confidential information to unauthorized users.

Because the script follows symbolic links in specially crafted OOXML documents, attackers could potentially cause sensitive files to be read and indexed without proper authorization.

The impact is primarily on confidentiality, with a low severity rating (CVSS 4.3), and does not affect integrity or availability.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability involves unsafe handling of zip-style attachments by a specific script used in OX Dovecot for attachment-to-text conversion. Detection involves identifying if the vulnerable script is in use and whether specially crafted OOXML documents are being processed.

Since the vulnerability causes unintended files to be indexed via Full Text Search (FTS), monitoring FTS indexes for unexpected or sensitive file content may help detect exploitation attempts.

There are no publicly available exploits or specific detection commands provided.

Suggested steps include:

  • Check if the vulnerable attachment-to-text conversion script is present and in use on your system.
  • Monitor FTS indexes for unexpected files or sensitive data that should not be indexed.
  • Review logs for processing of OOXML documents that could be specially crafted.
  • No specific commands are provided in the available information.

What immediate steps should I take to mitigate this vulnerability?

The primary mitigation step is to stop using the vulnerable attachment-to-text conversion script provided by Dovecot.

Instead, use alternative safe solutions such as FTS tika for attachment-to-text conversion.

Additionally, upgrade affected OX Dovecot versions to fixed versions if possible. Fixed versions include OX Dovecot CE 2.4.3, OX Dovecot Pro 3.1.3, and OX Dovecot Pro 2.3.22.1 or later.

Since no public exploits are known, immediate mitigation focuses on avoiding use of the vulnerable script and applying vendor recommended fixes.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

This vulnerability allows unintended files on the system to be indexed and included in Full Text Search (FTS) indexes due to unsafe handling of zip-style attachments by a provided script. This can lead to exposure of sensitive information to unauthorized actors.

Exposure of sensitive information can potentially impact compliance with data protection regulations such as GDPR and HIPAA, which require safeguarding personal and sensitive data from unauthorized access or disclosure.

Therefore, if exploited, this vulnerability could result in non-compliance with these standards by exposing sensitive data through the FTS indexes.

The vendor recommends not using the vulnerable script and instead using safer alternatives like FTS tika to mitigate this risk.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart