OESA-2026-1849 (CVE-2025-59031)

Vulnerability from osv_openeuler – Published: 2026-04-11 11:10 – Updated: 2026-08-06 11:10 – Source website
VLAI
Summary
dovecot security update
Details

Dovecot is an IMAP server for Linux/UNIX-like systemsa wrapper package that will just handle common things for all versioned dovecot packages.

Security Fix(es):

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.(CVE-2025-59031)

ManageSieve AUTHENTICATE command crashes when using literal as SASL initial response. This can be used to crash ManageSieve service repeatedly, making it unavailable for other users. Control access to ManageSieve port, or disable the service if it's not needed. Alternatively upgrade to a fixed version. No publicly available exploits are known.(CVE-2025-59032)

When dovecot has been configured to use per-domain passwd files, and they are placed one path component above /etc, or slash has been added to allowed characters, path traversal can happen if the domain component is directory partial. This allows inadvertently reading /etc/passwd (or some other path which ends with passwd). If this file contains passwords, it can be used to authenticate wrongly, or if this is userdb, it can unexpectly make system users appear valid users. Upgrade to fixed version, or use different authentication scheme that does not rely on paths. Alternatively you can also ensure that the per-domain passwd files are in some other location, such as /etc/dovecot/auth/%d. No publicly available exploits are known.(CVE-2026-0394)

Dovecot OTP authentication is vulnerable to replay attack under specific conditions. If auth cache is enabled, and username is altered in passdb, then OTP credentials can be cached so that same OTP reply is valid. An attacker able to observe an OTP exchange is able to log in as the user. If authentication happens over unsecure connection, switch to SCRAM protocol. Alternatively ensure the communcations are secured, and if possible switch to OAUTH2 or SCRAM. No publicly available exploits are known.(CVE-2026-27855)

Doveadm credentials are verified using direct comparison which is susceptible to timing oracle attack. An attacker can use this to determine the configured credentials. Figuring out the credential will lead into full access to the affected component. Limit access to the doveadm http service port, install fixed version. No publicly available exploits are known.(CVE-2026-27856)

Sending "NOOP (((...)))" command with 4000 parenthesis open+close results in ~1MB extra memory usage. Longer commands will result in client disconnection. This 1 MB can be left allocated for longer time periods by not sending the command ending LF. So attacker could connect possibly from even a single IP and create 1000 connections to allocate 1 GB of memory, which would likely result in reaching VSZ limit and killing the process and its other proxied connections. Attacker could connect possibly from even a single IP and create 1000 connections to allocate 1 GB of memory, which would likely result in reaching VSZ limit and killing the process and its other proxied connections. Install fixed version, there is no other remediation. No publicly available exploits are known.(CVE-2026-27857)

Attacker can send a specifically crafted message before authentication that causes managesieve to allocate large amount of memory. Attacker can force managesieve-login to be unavailable by repeatedly crashing the process. Protect access to managesieve protocol, or install fixed version. No publicly available exploits are known.(CVE-2026-27858)

A mail message containing excessive amount of RFC 2231 MIME parameters causes LMTP to use too much CPU. A suitably formatted mail message causes mail delivery process to consume large amounts of CPU time. Use MTA capabilities to limit RFC 2231 MIME parameters in mail messages, or upgrade to fixed version where the processing is limited. No publicly available exploits are known.(CVE-2026-27859)

Impacted products
Ecosystem Package Version
openEuler:22.03-LTS-SP4 dovecot
pkg:rpm/openEuler/dovecot&distro=openEuler-22.03-LTS-SP4
Affected: < 2.3.15-7.oe2203sp4 (ecosystem)
openEuler:24.03-LTS dovecot
pkg:rpm/openEuler/dovecot&distro=openEuler-24.03-LTS
Affected: < 2.3.20-4.oe2403sp3 (ecosystem)
openEuler:24.03-LTS-SP1 dovecot
pkg:rpm/openEuler/dovecot&distro=openEuler-24.03-LTS-SP1
Affected: < 2.3.20-4.oe2403sp1 (ecosystem)
openEuler:24.03-LTS-SP2 dovecot
pkg:rpm/openEuler/dovecot&distro=openEuler-24.03-LTS-SP2
Affected: < 2.3.20-4.oe2403sp2 (ecosystem)
openEuler:24.03-LTS-SP3 dovecot
pkg:rpm/openEuler/dovecot&distro=openEuler-24.03-LTS-SP3
Affected: < 2.3.20-4.oe2403sp3 (ecosystem)
openEuler:20.03-LTS-SP4 dovecot
pkg:rpm/openEuler/dovecot&distro=openEuler-20.03-LTS-SP4
Affected: < 2.3.15-7.oe2003sp4 (ecosystem)

{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "dovecot-2.3.15-7.oe2203sp4.aarch64.rpm",
          "dovecot-debuginfo-2.3.15-7.oe2203sp4.aarch64.rpm",
          "dovecot-debugsource-2.3.15-7.oe2203sp4.aarch64.rpm",
          "dovecot-devel-2.3.15-7.oe2203sp4.aarch64.rpm",
          "dovecot-help-2.3.15-7.oe2203sp4.aarch64.rpm"
        ],
        "src": [
          "dovecot-2.3.15-7.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "dovecot-2.3.15-7.oe2203sp4.x86_64.rpm",
          "dovecot-debuginfo-2.3.15-7.oe2203sp4.x86_64.rpm",
          "dovecot-debugsource-2.3.15-7.oe2203sp4.x86_64.rpm",
          "dovecot-devel-2.3.15-7.oe2203sp4.x86_64.rpm",
          "dovecot-help-2.3.15-7.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "dovecot",
        "purl": "pkg:rpm/openEuler/dovecot\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.15-7.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "dovecot-2.3.20-4.oe2403.aarch64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403.aarch64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403.aarch64.rpm",
          "dovecot-devel-2.3.20-4.oe2403.aarch64.rpm",
          "dovecot-help-2.3.20-4.oe2403.aarch64.rpm",
          "dovecot-2.3.20-4.oe2403sp1.aarch64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp1.aarch64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp1.aarch64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp1.aarch64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp1.aarch64.rpm",
          "dovecot-2.3.20-4.oe2403sp2.aarch64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp2.aarch64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp2.aarch64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp2.aarch64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp2.aarch64.rpm",
          "dovecot-2.3.20-4.oe2403sp3.aarch64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp3.aarch64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp3.aarch64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp3.aarch64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp3.aarch64.rpm"
        ],
        "src": [
          "dovecot-2.3.20-4.oe2403.src.rpm",
          "dovecot-2.3.20-4.oe2403sp1.src.rpm",
          "dovecot-2.3.20-4.oe2403sp2.src.rpm",
          "dovecot-2.3.20-4.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "dovecot-2.3.20-4.oe2403.x86_64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403.x86_64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403.x86_64.rpm",
          "dovecot-devel-2.3.20-4.oe2403.x86_64.rpm",
          "dovecot-help-2.3.20-4.oe2403.x86_64.rpm",
          "dovecot-2.3.20-4.oe2403sp1.x86_64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp1.x86_64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp1.x86_64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp1.x86_64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp1.x86_64.rpm",
          "dovecot-2.3.20-4.oe2403sp2.x86_64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp2.x86_64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp2.x86_64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp2.x86_64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp2.x86_64.rpm",
          "dovecot-2.3.20-4.oe2403sp3.x86_64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp3.x86_64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp3.x86_64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp3.x86_64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS",
        "name": "dovecot",
        "purl": "pkg:rpm/openEuler/dovecot\u0026distro=openEuler-24.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.20-4.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "dovecot-2.3.20-4.oe2403sp1.aarch64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp1.aarch64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp1.aarch64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp1.aarch64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp1.aarch64.rpm"
        ],
        "src": [
          "dovecot-2.3.20-4.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "dovecot-2.3.20-4.oe2403sp1.x86_64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp1.x86_64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp1.x86_64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp1.x86_64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP1",
        "name": "dovecot",
        "purl": "pkg:rpm/openEuler/dovecot\u0026distro=openEuler-24.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.20-4.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "dovecot-2.3.20-4.oe2403sp2.aarch64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp2.aarch64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp2.aarch64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp2.aarch64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp2.aarch64.rpm"
        ],
        "src": [
          "dovecot-2.3.20-4.oe2403sp2.src.rpm"
        ],
        "x86_64": [
          "dovecot-2.3.20-4.oe2403sp2.x86_64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp2.x86_64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp2.x86_64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp2.x86_64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp2.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP2",
        "name": "dovecot",
        "purl": "pkg:rpm/openEuler/dovecot\u0026distro=openEuler-24.03-LTS-SP2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.20-4.oe2403sp2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "dovecot-2.3.20-4.oe2403sp3.aarch64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp3.aarch64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp3.aarch64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp3.aarch64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp3.aarch64.rpm"
        ],
        "src": [
          "dovecot-2.3.20-4.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "dovecot-2.3.20-4.oe2403sp3.x86_64.rpm",
          "dovecot-debuginfo-2.3.20-4.oe2403sp3.x86_64.rpm",
          "dovecot-debugsource-2.3.20-4.oe2403sp3.x86_64.rpm",
          "dovecot-devel-2.3.20-4.oe2403sp3.x86_64.rpm",
          "dovecot-help-2.3.20-4.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP3",
        "name": "dovecot",
        "purl": "pkg:rpm/openEuler/dovecot\u0026distro=openEuler-24.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.20-4.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "dovecot-2.3.15-7.oe2003sp4.aarch64.rpm",
          "dovecot-debuginfo-2.3.15-7.oe2003sp4.aarch64.rpm",
          "dovecot-debugsource-2.3.15-7.oe2003sp4.aarch64.rpm",
          "dovecot-devel-2.3.15-7.oe2003sp4.aarch64.rpm",
          "dovecot-help-2.3.15-7.oe2003sp4.aarch64.rpm"
        ],
        "src": [
          "dovecot-2.3.15-7.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "dovecot-2.3.15-7.oe2003sp4.x86_64.rpm",
          "dovecot-debuginfo-2.3.15-7.oe2003sp4.x86_64.rpm",
          "dovecot-debugsource-2.3.15-7.oe2003sp4.x86_64.rpm",
          "dovecot-devel-2.3.15-7.oe2003sp4.x86_64.rpm",
          "dovecot-help-2.3.15-7.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "dovecot",
        "purl": "pkg:rpm/openEuler/dovecot\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.15-7.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "High"
  },
  "details": "Dovecot is an IMAP server for Linux/UNIX-like systemsa wrapper package that will just handle common things for all versioned dovecot packages.\r\n\r\nSecurity Fix(es):\n\nDovecot 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.(CVE-2025-59031)\n\nManageSieve AUTHENTICATE command crashes when using literal as SASL initial response. This can be used to crash ManageSieve service repeatedly, making it unavailable for other users. Control access to ManageSieve port, or disable the service if it\u0026apos;s not needed. Alternatively upgrade to a fixed version. No publicly available exploits are known.(CVE-2025-59032)\n\nWhen dovecot has been configured to use per-domain passwd files, and they are placed one path component above /etc, or slash has been added to allowed characters, path traversal can happen if the domain component is directory partial. This allows inadvertently reading /etc/passwd (or some other path which ends with passwd). If this file contains passwords, it can be used to authenticate wrongly, or if this is userdb, it can unexpectly make system users appear valid users.  Upgrade to fixed version, or use different authentication scheme that does not rely on paths. Alternatively you can also ensure that the per-domain passwd files are in some other location, such as /etc/dovecot/auth/%d. No publicly available exploits are known.(CVE-2026-0394)\n\nDovecot OTP authentication is vulnerable to replay attack under specific conditions. If auth cache is enabled, and username is altered in passdb, then OTP credentials can be cached so that same OTP reply is valid. An attacker able to observe an OTP exchange is able to log in as the user. If authentication happens over unsecure connection, switch to SCRAM protocol. Alternatively ensure the communcations are secured, and if possible switch to OAUTH2 or SCRAM. No publicly available exploits are known.(CVE-2026-27855)\n\nDoveadm credentials are verified using direct comparison which is susceptible to timing oracle attack. An attacker can use this to determine the configured credentials. Figuring out the credential will lead into full access to the affected component. Limit access to the doveadm http service port, install fixed version. No publicly available exploits are known.(CVE-2026-27856)\n\nSending \u0026quot;NOOP (((...)))\u0026quot; command with 4000 parenthesis open+close results in ~1MB extra memory usage. Longer commands will result in client disconnection. This 1 MB can be left allocated for longer time periods by not sending the command ending LF. So attacker could connect possibly from even a single IP and create 1000 connections to allocate 1 GB of memory, which would likely result in reaching VSZ limit and killing the process and its other proxied connections. Attacker could connect possibly from even a single IP and create 1000 connections to allocate 1 GB of memory, which would likely result in reaching VSZ limit and killing the process and its other proxied connections. Install fixed version, there is no other remediation. No publicly available exploits are known.(CVE-2026-27857)\n\nAttacker can send a specifically crafted message before authentication that causes managesieve to allocate large amount of memory.\n Attacker can force managesieve-login to be unavailable by repeatedly crashing the process. Protect access to managesieve protocol, or install fixed version. No publicly available exploits are known.(CVE-2026-27858)\n\nA mail message containing excessive amount of RFC 2231 MIME parameters causes LMTP to use too much CPU. A suitably formatted mail message causes mail delivery process to consume large amounts of CPU time. Use MTA capabilities to limit RFC 2231 MIME parameters in mail messages, or upgrade to fixed version where the processing is limited. No publicly available exploits are known.(CVE-2026-27859)",
  "id": "OESA-2026-1849",
  "modified": "2026-08-06T11:10:52Z",
  "published": "2026-04-11T11:10:52Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-1849"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59031"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59032"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-0394"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27855"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27856"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27857"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27858"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-27859"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "dovecot security update",
  "upstream": [
    "CVE-2025-59031",
    "CVE-2025-59032",
    "CVE-2026-0394",
    "CVE-2026-27855",
    "CVE-2026-27856",
    "CVE-2026-27857",
    "CVE-2026-27858",
    "CVE-2026-27859"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.