CVE-2026-107580: CWE-407: Inefficient Algorithmic Complexity in Progressive Robot Ltd hMailServer
Description
Inefficient algorithmic complexity in the decoding of message header fields in Progressive Robot hMailServer 6.0.0 through 6.3.5 allows a remote unauthenticated attacker to make the IMAP, SMTP and POP3 services, or the webmail, unavailable by sending a message. The server unfolded a decoded header value by finding each line break from the end of the value and removing it, moving the rest of the value each time, so its work grew with the square of the number of line breaks, and an RFC 2047 encoded word may decode to any number of them. A received message whose Subject or other header field holds such a value keeps a worker thread busy for minutes or longer each time the value is read: when the recipient's IMAP client searches, sorts or threads the folder by a header, when the webmail lists the folder, and, where configured, when a rule tests a header, a spam tag is added to the Subject or an abuse report is read during delivery. The IMAP worker threads are shared with SMTP and POP3, so a few such messages stop those services responding. The server's reading of a message header from its file also searched everything read so far after each 4,000 bytes, costing seconds for a header of tens of megabytes.
CVSS v3.1
Score 6.5medium
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 inefficient handling of RFC 2047 encoded words in message header fields in hMailServer 6.0.0 through 6.3.5. The server decodes header values by repeatedly searching for line breaks from the end and moving the remaining value, resulting in work that grows quadratically with the number of line breaks. An attacker can exploit this by sending a message with a header field containing many encoded line breaks, causing worker threads to be tied up for minutes or longer during operations such as IMAP searches, sorting, threading, webmail folder listing, and rule processing. Because IMAP worker threads are shared with SMTP and POP3, these services also become unresponsive. Additionally, reading large headers involves repeated searches every 4,000 bytes, further increasing processing time.
Potential Impact
The vulnerability allows a remote unauthenticated attacker to cause denial of service by making the IMAP, SMTP, POP3, and webmail services unavailable. The attack exploits inefficient header decoding to exhaust worker threads, leading to service unavailability. 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. No official fix or patch links are provided in the available data. Until a patch is available, consider limiting exposure to untrusted email sources or applying rate limiting on incoming messages to reduce the risk of denial of service.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitLab
- Date Reserved
- 2026-10-08T10:52:05.641Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac786ba2cdf04f65611bbbd
Added to database: 10/08/2026, 12:04:10 UTC
Last enriched: 10/08/2026, 12:19:14 UTC
Last updated: 10/08/2026, 15:04:12 UTC
Views: 11
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.