CVE-2026-126623: Inefficient Algorithmic Complexity in hMailServer

Published Nov 11, 2026
·
Updated

Inefficient algorithmic complexity in the JSON reader of Progressive Robot hMailServer 6.3.6 and 6.3.7 allows a remote attacker to hold the server's mail delivery threads or its REST API's worker threads, making mail delivery, the REST API and the webmail unavailable. 6.3.6 fixed CVE-2026-107574, in which reading a JSON object searched the member names already read for each new name, by keeping the names in a hash set; the set uses the standard library's hash, which takes no secret, so member names chosen to fall in one bucket of it still cost time growing with the square of their number. Against the released reader, one such object of 16 MB took about 5 seconds to read in the Linux build, and one of under 6 MB about 23 seconds in the Windows build, where objects of the same sizes with other names took under a tenth of a second. A remote unauthenticated attacker reaches the reader by mailing such an object as a TLS-RPT report, up to 16 MB once decompressed, to a hosted domain's report mailbox, where an administrator has set one; it is read on a mail delivery thread (ten by default), and those threads deliver all mail, local and outbound, so a stream of such reports stops all delivery for as long as it continues. It is also reached without an account through the reply to a password-protected message, with the message's link alone, where the REST API is on (it is off by default) and a public base URL for such links is set; and by any account through the webmail's routes granted 16 MB, and by an application's API key through the send API. Each such request holds one of the REST API's four worker threads, in the process that also serves SMTP, IMAP and POP3.

Affected Software

1 affected component
Progressive Robot hMailServer=6.3.6, =6.3.7

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.8
  2. Configuration

    Set RestApiPort to 0 to disable the REST API when it is not required.

    hMailServer REST API RestApiPort = 0
  3. Configuration

    Switch OpenPGP off using portal_enabled under /api/v1/settings/openpgp, and disable openpgp_portal_enabled for any domain or account where it is enabled.

    hMailServer webmail OpenPGP portal_enabled / openpgp_portal_enabled = off
  4. Compensating control

    If the REST API remains enabled, restrict who can reach it or place a reverse proxy in front of it that holds request bodies well below 16 MB.

  5. Operational

    Clear each domain's report mailbox, or move the report mailbox off the domains hosted by the server, so no TLS-RPT report is read by the server.

  6. Operational

    Restart the hMailServer service to end a busy thread.

Event History

Nov 11, 2026
CVE Published
via MITRE·08:31 AM
Data Sourced
via MITRE·08:31 AM
RemedyDescriptionSeverityWeakness

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