CVE-2025-59031

MEDIUMCVSS 4.3/10EPSS 0.28%

Last modified

CVE-2025-59031 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. Dovecot has provided a script to use for attachment to text conversion. This script unsafely handles zip-style attachments. EPSS estimates a 0.28% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
4.3/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS Probability
0.28%

20.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
DovecotDovecot< 2.4.3
Open-XchangeDovecot< 2.3.22.1
Open-XchangeDovecot>= 3.0.0, < 3.1.3

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is 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.
How severe is CVE-2025-59031?
CVE-2025-59031 has a CVSS score of 4.3/10 (MEDIUM severity). The EPSS model estimates a 0.28% probability of exploitation in the next 30 days.
How do I fix CVE-2025-59031?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-59031?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST