CVE-2026-107582
published medium CVSS 3.1 · 6.5Inefficient Algorithmic Complexity in hMailServer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Progressive Robot Ltd | — | hMailServer6.2.22-pre1 to < 6.3.6 · Other versions: unaffected | Affected | Not stated | GitLab |
Description
Inefficient algorithmic complexity in the REST API (6.3.3 through 6.3.5) and the IMAP PREVIEW response (6.2.22 through 6.3.5) of Progressive Robot hMailServer allows a remote unauthenticated attacker to make the webmail, the administration console and the REST API unavailable by sending a message. To show a snippet of each message in a folder's message list, the server decoded the character entity references of a message that has an HTML part and no text part with a string replacement whose work grew with the square of their number. A received HTML-only message holding a very large number of entity references therefore keeps one of the listener's four worker threads busy for minutes or longer each time the recipient's webmail lists the folder, without the message being opened, so that a few such listings leave the HTTP listener unable to answer anybody. The IMAP PREVIEW response read such text the same way, holding an IMAP thread for each client that asks for the preview of such a message. The flaw is in the server's shared string class, whose replace and remove both ran in quadratic time.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Progressive Robot Ltd | hMailServer | 6.2.22-pre1 to < 6.3.6 (affected · semver)Default: unaffected | GitLab · cna |
Weaknesses
1- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
2Provider assertions
2GitLab · cna
Inefficient Algorithmic Complexity in hMailServer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa64e469ce1527330d4c4f8014518a3d21e85d961411a1edfc3d87bc2539873c
- Ingested
- 09 Oct 2026, 16:25:59 UTC
- Source record
- Official CVE record