CVE-2026-107577: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in Progressive Robot Ltd hMailServer
Description
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.
CVSS v3.1
Score 7.5high
Affected software
Progressive Robot Ltd
hMailServer
pkg:github/hmailserver/hmailserverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from an infinite loop in the MIME processing component of hMailServer 6.0.0 through 6.3.5. Specifically, removing a MIME header parameter with an empty value directly followed by a semicolon (e.g., 'filename=a.bat; filename=;') causes a non-terminating loop that holds a worker thread at full CPU load until the server is restarted. This condition can be triggered remotely by sending a crafted message, including when the attachment blocker renames a blocked attachment or when a filename is set via the REST API. Separately, the server exhibits inefficient algorithmic complexity in decoding header fields with many RFC 2047 encoded words (non-base64 or quoted-printable), removing parameters with many RFC 2231 continuations, and deleting many header fields of the same name, resulting in processing time growing quadratically with message size. These inefficiencies affect the small thread pools serving IMAP, SMTP, POP3, delivery, and REST API connections, potentially degrading mail service availability.
Potential Impact
An unauthenticated remote attacker can cause a denial of service by sending specially crafted email messages that trigger an infinite loop in MIME header processing, resulting in a worker thread consuming full CPU and making mail services unavailable until the server is restarted. The inefficient processing of certain header fields can also degrade performance significantly under load, impacting mail delivery and client connections. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should consider monitoring for unusual CPU usage related to hMailServer processes and potentially restrict or filter suspicious MIME headers or attachment renaming operations that could trigger the issue. No official fix or workaround is documented in the provided data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitLab
- Date Reserved
- 2026-10-08T10:51:50.638Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac786ba2cdf04f65611bbba
Added to database: 10/08/2026, 12:04:10 UTC
Last enriched: 10/08/2026, 12:18:29 UTC
Last updated: 10/08/2026, 15:04:12 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.