CVE-2025-59031: Dovecot has provided a script to use for attachment to text conversion
CVE-2025-59031 is a medium-severity flaw (CVSS 4.3) affecting dovecot, dovecot. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 78%) |
| CISA exploited list | No |
| Weakness | CWE-200 |
| Published | 2026-03-27 |
| Last modified | 2026-10-07 |
Last updated 2026-10-07 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-59031?
dovecot: upgrade to 2.4.3; dovecot: upgrade to 2.3.22.1, 3.1.3. Exact commands for each OS are on this page.
Is CVE-2025-59031 being exploited?
CVE-2025-59031 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-59031 affect?
CVE-2025-59031 affects dovecot, dovecot. Severity is medium (CVSS 4.3). 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 subsequ
How urgent is CVE-2025-59031?
Priority 21/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-27855 MEDIUM 6.8 UPGRADE UPGRADE Dovecot OTP authentication is vulnerable to replay attack under specific conditions
- CVE-2026-27857 MEDIUM 4.3 UPGRADE UPGRADE Sending "NOOP (((...)))" command with 4000 parenthesis open+close results in ~1MB extra memory usage
- CVE-2026-27858 HIGH 7.5 UPGRADE UPGRADE Attacker can send a specifically crafted message before authentication that causes managesieve to allocate lar
- CVE-2026-24031 HIGH 7.7 UPGRADE UPGRADE Dovecot SQL based authentication can be bypassed when auth_username_chars is cleared by admin
- CVE-2026-27856 HIGH 7.4 UPGRADE UPGRADE Doveadm credentials are verified using direct comparison which is susceptible to timing oracle attack