What’s Vulnerable › Vulnerabilities
CVE-2026-107572: Inefficient Regular Expression Complexity in hMailServer
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-08 · updated 2026-10-08
- Weakness: CWE-1333
Description
Inefficient complexity in the Sieve filter evaluation of Progressive Robot hMailServer 6.2.24 through 6.3.5 allows an authenticated account holder to make the mail services unavailable with their own filter. A ':matches' pattern was matched by a backtracking descent whose time grew with the matched value's length raised to the number of wildcards, so a pattern such as '*a*a*a*b' over 800 characters took 44 seconds; and 'deleteheader' erased the fields it removed one at a time, so removing many fields of one name over a message's header cost O(N^2) (80,000 fields took 18.8 seconds). Sieve filters run on the small, shared delivery thread pool, so an account holder whose active script does this, fed a few messages they can send themselves, empties the pool and stops delivery for the whole server. The script is the account holder's own and cannot be set for another user.
Affected products
- Progressive Robot Ltd hMailServer: from 6.2.24 before 6.3.6 — fixed in 6.3.6
How to fix
Upgrade to a fixed version: Progressive Robot Ltd hMailServer 6.3.6. Check the vendor advisory for mitigations.
References
- https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6
- https://gitlab.com/hmailserver/hmailserver/-/work_items/75
Get alerted when CVE-2026-107572 or the next vulnerability affects your stack