{"id":"CVE-2026-5740","published":"2026-05-22T10:22:01Z","modified":"2026-05-22T12:14:25Z","title":"Unauthenticated WebSocket binary frame causes denial of service in Mattermost Server","vendor":"Mattermost","product":"Mattermost","tier":"tail","description":{"text":"Mattermost versions 11.6.x <= 11.6.0, 11.5.x <= 11.5.3, 11.4.x <= 11.4.4, 10.11.x <= 10.11.14 fail to properly validate msgpack-encoded WebSocket frames before memory allocation which allows an unauthenticated remote attacker to crash the server process and cause a full service outage for all users via a crafted binary WebSocket message sent to the public WebSocket endpoint.. Mattermost Advisory ID: MMSA-2026-00647","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0034,"percentile":0.28196,"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":10.9,"factors":[{"name":"EPSS percentile","points":5.64},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"mattermost","affectedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":[">= 11.6.0, <= 11.6.0",">= 11.5.0, <= 11.5.3",">= 11.4.0, <= 11.4.4",">= 10.11.0, <= 10.11.14"]}],"fixedVersions":[{"vendor":"Mattermost","product":"Mattermost","versions":["11.7.0","11.6.1","11.5.4","11.4.5","10.11.15"]}],"solutions":{"items":["Update Mattermost to versions 11.7.0, 11.6.1, 11.5.4, 11.4.5, 10.11.15 or higher."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-22T12:14:18.991826Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server","vulnerableRanges":[">=11.6.0, <11.6.1",">=11.5.0, <11.5.4",">=11.4.0, <11.4.5",">=10.11.0, <10.11.15",">=10.11.0+incompatible, <10.11.15+incompatible",">=11.4.0+incompatible, <11.4.5+incompatible",">=11.5.0+incompatible, <11.5.4+incompatible",">=11.6.0+incompatible, <11.6.1+incompatible"],"patched":["11.6.1","11.5.4","11.4.5","10.11.15","10.11.15+incompatible","11.4.5+incompatible","11.5.4+incompatible","11.6.1+incompatible"],"from":["GHSA-w9m8-p4cc-4qj9","GO-2026-5838"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost/server/v8","vulnerableRanges":["<8.0.0-20260410202636-17939826efa2"],"patched":["8.0.0-20260410202636-17939826efa2"],"from":["GHSA-w9m8-p4cc-4qj9","GO-2026-5838"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v5","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5838"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mattermost/mattermost-server/v6","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-5838"],"provenance":"source"}],"summary":{"text":"A flaw in the WebSocket message handling of the Mattermost Server product fails to validate msgpack-encoded binary frames before allocating memory. An unauthenticated remote attacker who can reach the public WebSocket endpoint can send a crafted binary message to crash the server process, causing a full outage for all users, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:50Z"},"euvd":{"id":"EUVD-2026-31426","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mattermost-cve-2023-48732","parents":[{"from":"CVE-2025-55070","to":"CVE-2026-5740","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/channels/app/platform/web_conn.go"],"commits":["https://github.com/mattermost/mattermost/commit/7d8b7b5e4a6076b2f7c87606883c417f9a610df5","https://github.com/mattermost/mattermost/commit/17939826efa20a97f087b3d390ec5136df350bae"],"basis":"shared function","functions":["readPump"]}]}],"packageHistory":[{"cve":"CVE-2026-27656","published":"2026-03-25","fixed":"8.0.0-20260217110922-b7d4a1f1f59b","kev":false},{"cve":"CVE-2026-4055","published":"2026-05-21","fixed":"8.0.0-20260320113102-f2b3d1c6a945","kev":false},{"cve":"CVE-2026-4915","published":"2026-05-25","fixed":"8.0.0-20260407102538-faa7d75b4ea0","kev":false,"link":{"from":"CVE-2026-4915","to":"CVE-2026-5740","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260407102538-faa7d75b4ea0","toFixed":"8.0.0-20260410202636-17939826efa2","daysApart":-3}]}},{"cve":"CVE-2026-5740","published":"2026-05-22","fixed":"8.0.0-20260410202636-17939826efa2","kev":false},{"cve":"CVE-2026-6961","published":"2026-06-12","fixed":"8.0.0-20260423180926-c021eeaff8f0","kev":false,"link":{"from":"CVE-2026-5740","to":"CVE-2026-6961","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/mattermost/mattermost/server/v8","fromFixed":"8.0.0-20260410202636-17939826efa2","toFixed":"8.0.0-20260423180926-c021eeaff8f0","daysApart":21}]}},{"cve":"CVE-2026-7184","published":"2026-06-12","fixed":"8.0.0-20260428142921-bd8fc9222672","kev":false},{"cve":"CVE-2026-6046","published":"2026-06-12","fixed":"8.0.0-20260428151657-c79c3831061a","kev":false}],"package":"Go:github.com/mattermost/mattermost/server/v8"}}