{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-107572", "assignerOrgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a", "state": "PUBLISHED", "assignerShortName": "GitLab", "dateReserved": "2026-10-08T10:51:25.637Z", "datePublished": "2026-10-08T11:46:41.080Z", "dateUpdated": "2026-10-08T11:46:41.080Z" }, "containers": { "cna": { "title": "Inefficient Regular Expression Complexity in hMailServer", "descriptions": [ { "lang": "en", "value": "Inefficient complexity in the Sieve filter evaluation of Progressive Robot hMailServer 6.2.24 through 6.3.5 allows an authenticated account holder to make the mail services unavailable with their own filter. A ':matches' pattern was matched by a backtracking descent whose time grew with the matched value's length raised to the number of wildcards, so a pattern such as '*a*a*a*b' over 800 characters took 44 seconds; and 'deleteheader' erased the fields it removed one at a time, so removing many fields of one name over a message's header cost O(N^2) (80,000 fields took 18.8 seconds). Sieve filters run on the small, shared delivery thread pool, so an account holder whose active script does this, fed a few messages they can send themselves, empties the pool and stops delivery for the whole server. The script is the account holder's own and cannot be set for another user." } ], "affected": [ { "vendor": "Progressive Robot Ltd", "product": "hMailServer", "repo": "https://gitlab.com/hmailserver/hmailserver", "versions": [ { "version": "6.2.24", "status": "affected", "lessThan": "6.3.6", "versionType": "semver" } ], "defaultStatus": "unaffected" } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "CWE-1333: Inefficient Regular Expression Complexity", "cweId": "CWE-1333", "type": "CWE" } ] } ], "references": [ { "url": "https://gitlab.com/hmailserver/hmailserver/-/work_items/75" }, { "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:L/UI:N/S:U/C:N/I:N/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH", "baseScore": 6.5, "baseSeverity": "MEDIUM" } } ], "solutions": [ { "lang": "en", "value": "Upgrade to hMailServer 6.3.6, which matches a ':matches' pattern by placing each piece once (time linear in the value times the pattern) and removes 'deleteheader' fields in one pass. Until then, review active Sieve scripts for ':matches' patterns with several wildcards and for 'deleteheader', and lower the maximum message size." } ], "credits": [ { "lang": "en", "value": "Found in the hMailServer project's own security review (Progressive Robot Ltd)", "type": "finder" } ], "providerMetadata": { "orgId": "ceab7361-8a18-47b1-92ba-4d7d25f6715a", "shortName": "GitLab", "dateUpdated": "2026-10-08T11:46:41.080Z" } } } }