# CVE-2026-107580: Inefficient Algorithmic Complexity in hMailServer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.46% (percentile 32, 2026-11-28)
- **CWE:** CWE-407
- **Published:** 2026-10-08T11:47:11.085Z
- **Modified:** 2026-10-08T21:02:43.860Z

## Who should check

- Anyone running Progressive Robot Ltd hMailServer \>= 6.0.0, \< 6.3.6

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

## Affected and fixed versions

- Progressive Robot Ltd hMailServer: \>= 6.0.0, \< 6.3.6 (cvelist)

## Mitigation

- Upgrade hMailServer to 6.3.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-107580. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-107580.md
Affected: Progressive Robot Ltd hMailServer >= 6.0.0, < 6.3.6
Fixed in: Progressive Robot Ltd hMailServer 6.3.6

Steps:
1. Search this machine and project for Progressive Robot Ltd hMailServer: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-107580 being exploited?

There is no confirmed exploitation: CVE-2026-107580 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-107580?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-107580?

Progressive Robot Ltd hMailServer \>= 6.0.0, \< 6.3.6.

### Is there a fix for CVE-2026-107580?

Yes. Fixed in Progressive Robot Ltd hMailServer 6.3.6. Upgrade hMailServer to 6.3.6 or later.

### How do I check if I'm affected by CVE-2026-107580?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://gitlab.com/hmailserver/hmailserver/-/work_items/69>
- other: <https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-107580>

HTML: <https://flawdb.com/CVE-2026-107580> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-107580>
