CVE-2026-107577: Loop with Unreachable Exit Condition ('Infinite Loop') in hMailServer

Published Oct 8, 2026
·
Updated

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.

Affected Software

1 affected component
Progressive Robot hMailServer>=6.0.0<=6.3.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Progressive Robot hMailServer to a version that resolves this vulnerability.

    Fixed in 6.3.6
  2. Compensating control

    Lower the maximum message size to bound the quadratic MIME-processing paths.

  3. Operational

    Restart the hMailServer service to end any hung worker thread.

Event History

Oct 8, 2026
CVE Published
via MITRE·11:46 AM
Data Sourced
via MITRE·11:46 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A remote, unauthenticated attacker can trigger the denial of service by sending a crafted message. The affected processing paths use small thread pools serving IMAP, SMTP, POP3, delivery, and the REST API, so service availability can be affected.

2

What message content triggers the non-terminating loop?

The loop is triggered when a MIME header parameter with an empty value is immediately followed by a semicolon is removed, such as a Content-Disposition value containing "filename=a.bat; filename=;". The vulnerable removal path is reached when the attachment blocker renames a blocked attachment or when a filename is set through the REST API.

3

What is the operational impact of a successful attack?

The non-terminating loop holds a worker thread at full load until the server is restarted, making mail services unavailable. Other crafted headers can cause processing time to grow quadratically with message size, potentially exhausting the small connection and API thread pools.

4

Which versions are affected?

Progressive Robot hMailServer 6.0.0 through 6.3.5 are affected. The provided release reference identifies version 6.3.6.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203