# CVE-2025-59031: Dovecot has provided a script to use for attachment to text conversion.

- Severity: Medium 4.3 (CVSS:3.1, scored by OX) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-03-27T08:10:15.956Z
- Modified: 2026-10-07T09:10:00.160Z
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: OX

## 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.

(As written by CVE List.)

## Affected

- Open-Xchange GmbH OX Dovecot Pro: up to 2.3.0
- dovecot dovecot: before 2.4.3
- open-xchange dovecot: before 2.3.22.1; from 3.0.0 before 3.1.3

## References

- <https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0001.json> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-59031](https://www.cve.org/CVERecord?id=CVE-2025-59031), CVE Terms of Use, modified 2026-03-27
- NVD: [CVE-2025-59031](https://nvd.nist.gov/vuln/detail/CVE-2025-59031), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-59031 · Whole record: https://cve.day/CVE-2025-59031.json · Rebuilt by cve.day 2026-11-25T22:59:11.999Z
