{"id":"CVE-2026-6340","published":"2026-05-18T07:08:56Z","modified":"2026-05-18T12:43:56Z","title":"Memory Exhaustion via Malicious 7zip File Upload","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 11.5.x <= 11.5.1, 10.11.x <= 10.11.13, 11.4.x <= 11.4.3 fail to validate 7zip archive structure before processing which allows an authenticated attacker to cause server memory exhaustion and denial of service via uploading a specially crafted 7zip file with excessive folder declarations.. Mattermost Advisory ID: MMSA-2026-00573","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0024,"percentile":0.15431,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://mattermost.com/security-updates","tags":["vendor-advisory"]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":3.09},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 11.5.0, <= 11.5.1",">= 10.11.0, <= 10.11.13",">= 11.4.0, <= 11.4.3"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["11.6.0","11.5.2","10.11.14","11.4.4"]}],"solutions":{"items":["Update Mattermost to versions 11.6.0, 11.5.2, 10.11.14, 11.4.4 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-18T12:43:23.193742Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":[">=11.5.0, <11.5.2",">=10.11.0, <10.11.14",">=11.4.0, <11.4.4","<8.0.0-20260325191733-fb11968f8798"],"patched":["11.5.2","10.11.14","11.4.4","8.0.0-20260325191733-fb11968f8798"],"from":["GHSA-cjm8-jxpw-g43m","GO-2026-5325"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":["<5.3.2-0.20260325191733-fb11968f8798",">=10.11.0+incompatible, <10.11.14+incompatible",">=11.4.0+incompatible, <11.4.4+incompatible",">=11.5.0+incompatible, <11.5.2+incompatible"],"patched":["5.3.2-0.20260325191733-fb11968f8798","10.11.14+incompatible","11.4.4+incompatible","11.5.2+incompatible"],"from":["GHSA-cjm8-jxpw-g43m","GO-2026-5325"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5325"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5325"],"provenance":"source"}],"summary":{"text":"Mattermost's server fails to validate the structure of 7zip archives before processing them, in affected versions of the Mattermost product. An authenticated attacker who uploads a specially crafted 7zip file containing excessive folder declarations, over the network with no user interaction, can exhaust server memory and cause a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:02Z"},"euvd":{"id":"EUVD-2026-30744","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2025-4981","parents":[{"from":"CVE-2025-4981","to":"CVE-2026-6340","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/platform/services/docextractor/archive.go"],"commits":["https://github.com/mattermost/mattermost/commit/65aec10162f612d98edf91cc66bf7e781868448b","https://github.com/mattermost/mattermost/commit/fb11968f8798925c7b75711025bc5f991124ba26"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-6333","published":"2026-05-18","fixed":"11.5.2+incompatible","kev":false,"link":{"from":"CVE-2026-6333","to":"CVE-2026-6340","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"5.3.2-0.20260325160634-e738016c5920","toFixed":"5.3.2-0.20260325191733-fb11968f8798","daysApart":0},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260325160634-e738016c5920","toFixed":"8.0.0-20260325191733-fb11968f8798","daysApart":0}]}},{"cve":"CVE-2026-6334","published":"2026-05-18","fixed":"11.5.2+incompatible","kev":false},{"cve":"CVE-2026-6339","published":"2026-05-18","fixed":"11.5.2+incompatible","kev":false},{"cve":"CVE-2026-6340","published":"2026-05-18","fixed":"11.5.2+incompatible","kev":false},{"cve":"CVE-2026-6343","published":"2026-05-18","fixed":"11.5.2+incompatible","kev":false},{"cve":"CVE-2026-6345","published":"2026-05-18","fixed":"11.5.2+incompatible","kev":false},{"cve":"CVE-2026-6346","published":"2026-05-18","fixed":"11.5.2+incompatible","kev":false,"link":{"from":"CVE-2026-6340","to":"CVE-2026-6346","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost-server","fromFixed":"5.3.2-0.20260325191733-fb11968f8798","toFixed":"5.3.2-0.20260326202606-fac92f4a71f3","daysApart":0},{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260325191733-fb11968f8798","toFixed":"8.0.0-20260326202606-fac92f4a71f3","daysApart":0}]}}],"package":"Go:github.com/mattermost/mattermost-server"}}