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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-10-08T11:47:11.085Z
- Modified: 2026-10-08T21:02:43.860Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitLab

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

(As written by CVE List.)

## Affected

- Progressive Robot Ltd hMailServer: from 6.0.0 before 6.3.6

## References

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

## Sources

- CVE List: [CVE-2026-107580](https://www.cve.org/CVERecord?id=CVE-2026-107580), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2026-107580](https://nvd.nist.gov/vuln/detail/CVE-2026-107580), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2026-107580 · Whole record: https://cve.day/CVE-2026-107580.json · Rebuilt by cve.day 2026-11-25T22:59:43.146Z
