{"id":"CVE-2026-107576","state":"PUBLISHED","title":"Inefficient Algorithmic Complexity in hMailServer","description":"Inefficient algorithmic complexity in the inbound DKIM and ARC signature verification of Progressive Robot hMailServer 6.0.0 through 6.3.5 allows a remote unauthenticated attacker to make the mail services unavailable by sending a message. Building the canonical header and choosing the header fields named in a signature's h= tag took time growing with the square of the message's header: the 'simple' canonicalisation prepended each continuation line of a folded field to the lines already gathered, and both canonicalisations searched the gathered fields from the bottom for each h= name and erased the match from the middle of the list. A message whose header holds very many fields, or a field folded over very many lines, with a DKIM-Signature the attacker signs for a domain they control, keeps a worker thread busy for tens of seconds per signature; up to ten signatures are evaluated per message by each of the DKIM and DMARC tests, on the threads that serve delivery and SMTP.","publishedAt":"2026-10-08T11:46:56.083Z","updatedAt":"2026-10-08T14:15:09.064Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitLab"},"assigner":"GitLab","products":["Progressive Robot Ltd hMailServer"],"affected":[{"vendor":"Progressive Robot Ltd","product":"hMailServer","defaultStatus":"unaffected","versions":[{"version":"6.0.0","status":"affected","lessThan":"6.3.6","versionType":"semver"}],"repo":"https://gitlab.com/hmailserver/hmailserver"}],"references":["https://gitlab.com/hmailserver/hmailserver/-/work_items/73","https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6"],"weaknesses":["CWE-407"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/107xxx/CVE-2026-107576.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-107576","state":"PUBLISHED","datePublished":"2026-10-08T11:46:56.083Z","dateUpdated":"2026-10-08T14:15:09.064Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2026-10-08T10:51:45.640Z"},"containers":{"cna":{"title":"Inefficient Algorithmic Complexity in hMailServer","descriptions":[{"lang":"en","value":"Inefficient algorithmic complexity in the inbound DKIM and ARC signature verification of Progressive Robot hMailServer 6.0.0 through 6.3.5 allows a remote unauthenticated attacker to make the mail services unavailable by sending a message. Building the canonical header and choosing the header fields named in a signature's h= tag took time growing with the square of the message's header: the 'simple' canonicalisation prepended each continuation line of a folded field to the lines already gathered, and both canonicalisations searched the gathered fields from the bottom for each h= name and erased the match from the middle of the list. A message whose header holds very many fields, or a field folded over very many lines, with a DKIM-Signature the attacker signs for a domain they control, keeps a worker thread busy for tens of seconds per signature; up to ten signatures are evaluated per message by each of the DKIM and DMARC tests, on the threads that serve delivery and SMTP."}],"affected":[{"vendor":"Progressive Robot Ltd","product":"hMailServer","defaultStatus":"unaffected","versions":[{"version":"6.0.0","status":"affected","lessThan":"6.3.6","versionType":"semver"}],"repo":"https://gitlab.com/hmailserver/hmailserver"}],"references":[{"url":"https://gitlab.com/hmailserver/hmailserver/-/work_items/73"},{"url":"https://gitlab.com/hmailserver/hmailserver/-/releases/v6.3.6"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","lang":"en","description":"CWE-407: Inefficient Algorithmic Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2026-10-08T11:46:56.083Z"},"solutions":[{"lang":"en","value":"Upgrade to hMailServer 6.3.6, which builds the canonical header in one pass and chooses the h= fields from an index by name. Until then, lower the maximum message size, which bounds the cost."}],"credits":[{"lang":"en","value":"Found in the hMailServer project's own security review (Progressive Robot Ltd)","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-08T14:14:51.935522Z","id":"CVE-2026-107576","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-08T14:15:09.064Z"}}]}}}