Skip to content
Heist/ feed
Back to feed
High

Loop with Unreachable Exit Condition ('Infinite Loop') in hMailServer

Type: advisorySources: OSV

Inefficient algorithmic complexity and a non-terminating loop in the MIME processing of received messages in Progressive Robot hMailServer 6.0.0 through 6.3.5 allow a remote unauthenticated attacker to make the mail services unavailable by sending a message. Removing a MIME header parameter whose value is empty and directly followed by a semicolon (for example a Content-Disposition with 'filename=a.bat; filename=;') entered a loop that never terminates, holding a worker thread at full load until the server is restarted; this is reached when the attachment blocker renames a blocked attachment or a filename is set over the REST API. Separately, decoding a header field that holds many RFC 2047 encoded words of an encoding other than base64 or quoted-printable, removing a parameter with many RFC 2231 continuations, and deleting many header fields of one name each took time growing with the square of the message, on the small thread pools that serve IMAP, SMTP and POP3 connections, delivery and the REST API.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-107577
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:27 UTC · Revision 1

Source evidence

Loop with Unreachable Exit Condition ('Infinite Loop') in hMailServer

core-osv · Original source

Published 8 Oct 2026, 11:46 UTC

Inefficient algorithmic complexity and a non-terminating loop in the MIME processing of received messages in Progressive Robot hMailServer 6.0.0 through 6.3.5 allow a remote unauthenticated attacker to make the mail services unavailable by sending a message. Removing a MIME header parameter whose value is empty and directly followed by a semicolon (for example a Content-Disposition with 'filename=a.bat; filename=;') entered a loop that never terminates, holding a worker thread at full load until the server is restarted; this is reached when the attachment blocker renames a blocked attachment or a filename is set over the REST API. Separately, decoding a header field that holds many RFC 2047 encoded words of an encoding other than base64 or quoted-printable, removing a parameter with many RFC 2231 continuations, and deleting many header fields of one name each took time growing with the square of the message, on the small thread pools that serve IMAP, SMTP and POP3 connections, delivery and the REST API.

osv:CVE-2026-107577
Complete source record
{
  "id": "0367e965a30748a426b7edc46ea224c334f12a86758ce25a06818e15c1b67be7",
  "url": "https://osv.dev/vulnerability/CVE-2026-107577",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Loop with Unreachable Exit Condition ('Infinite Loop') in hMailServer",
    "summary": "Inefficient algorithmic complexity and a non-terminating loop in the MIME processing of received messages in Progressive Robot hMailServer 6.0.0 through 6.3.5 allow a remote unauthenticated attacker to make the mail services unavailable by sending a message. Removing a MIME header parameter whose value is empty and directly followed by a semicolon (for example a Content-Disposition with 'filename=a.bat; filename=;') entered a loop that never terminates, holding a worker thread at full load until the server is restarted; this is reached when the attachment blocker renames a blocked attachment or a filename is set over the REST API. Separately, decoding a header field that holds many RFC 2047 encoded words of an encoding other than base64 or quoted-printable, removing a parameter with many RFC 2231 continuations, and deleting many header fields of one name each took time growing with the square of the message, on the small thread pools that serve IMAP, SMTP and POP3 connections, delivery and the REST API.",
    "evidence": "osv:CVE-2026-107577",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-107577",
      "aliases": [
        "CVE-2026-107577"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/hmailserver/hmailserver",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e4b7163189ac6ce365bb954cf3e264e2e3105a18"
                },
                {
                  "fixed": "e3c448aa66fc310b74d076884d54fae951296915"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "fixed": "6.3.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "6.0.0"
                      },
                      {
                        "last_affected": "6.3.5"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.3.5",
            "v6.3.4",
            "v6.3.3",
            "v6.3.2",
            "build-inputs-1",
            "v6.3.1",
            "v6.3.0",
            "v6.2.28",
            "v6.2.27",
            "v6.2.26",
            "v6.2.25",
            "v6.2.24",
            "v6.2.23-alpha2",
            "v6.2.23-alpha1",
            "v6.2.22-pre6",
            "v6.2.22-pre5",
            "v6.2.22-pre4",
            "v6.2.22-pre3",
            "v6.2.22-pre2",
            "v6.2.22-pre1",
            "v6.2.21",
            "v6.2.20",
            "v6.2.19",
            "v6.2.18",
            "v6.2.17",
            "v6.2.16",
            "v6.2.15",
            "v6.2.14",
            "v6.2.13",
            "v6.2.12",
            "v6.2.11",
            "v6.2.10",
            "v6.2.9",
            "v6.2.8",
            "v6.2.7",
            "v6.2.6",
            "v6.2.5",
            "v6.2.4",
            "v6.2.3",
            "v6.2.2",
            "v6.2.1",
            "v6.2.0",
            "v6.1.0",
            "v6.0.0-B4",
            "v6.0.0-B3",
            "v6.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107577.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.934554391Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6",
        "https://gitlab.com/hmailserver/hmailserver/-/work_items/72",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107577.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-107577",
        "https://gitlab.com/hmailserver/hmailserver"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-835"
        ],
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107577.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-107577",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 516976,
  "published_at": "2026-10-08T11:46:51.086+00:00"
}