CVE-2025-59031: Dovecot has provided a script to use for attachment to text conversion
Affects dovecotSource GCVE Database
Not known to be exploited · CVSS 4.3 Medium · fixed in 1:2.3.16+dfsg1-3ubuntu2.7 : update dovecot when convenient.
Data as of 24 Nov 2026, 20:10 UTC
- Patch
- Available – fixed in 1:2.3.16+dfsg1-3ubuntu2.7, 1:2.3.21+dfsg1-2ubuntu6.3, 1:2.4.1+dfsg1-5ubuntu4.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu dovecot to 1:2.3.16+dfsg1-3ubuntu2.7 (package) or 1:2.3.21+dfsg1-2ubuntu6.3 (package) or 1:2.4.1+dfsg1-5ubuntu4.1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10dovecotpkg:deb/ubuntu/dovecot?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu 16.04 LTSdovecotpkg:deb/ubuntu/dovecot?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.