CVE-2026-5740
HIGH 7.5CVSS 3.1Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation
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
- Published
- 22 May 2026
- Last modified
- 23 Jul 2026
- Assigned by
- responsibledisclosure@mattermost.com
- NVD status
- Analyzed
- Weakness
- CWE-789
- Also known as
- GHSA-w9m8-p4cc-4qj9GO-2026-5838
- Sources
- NVDJSONOSV GHSA-w9m8-p4cc-4qj9JSONOSV GO-2026-5838JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | responsibledisclosure@mattermost.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 10.11.0, < 10.11.15 | 10.11.15 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 11.4.0, < 11.4.5 | 11.4.5 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 11.5.0, < 11.5.4 | 11.5.4 |
| NVD | mattermost | mattermost_servercpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* |
>= 11.6.0, < 11.6.1 | 11.6.1 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 11.6.0, < 11.6.1 | 11.6.1 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 11.5.0, < 11.5.4 | 11.5.4 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 11.4.0, < 11.4.5 | 11.4.5 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 10.11.0, < 10.11.15 | 10.11.15 |
| OSV | Go | github.com/mattermost/mattermost/server/v8 | < 8.0.0-20260410202636-17939826efa2 | 8.0.0-20260410202636-17939826efa2 |
| OSV | Go | github.com/mattermost/mattermost-server | >= 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 | 10.11.15+incompatible, 11.4.5+incompatible, 11.5.4+incompatible, 11.6.1+incompatible |
| OSV | Go | github.com/mattermost/mattermost-server/v5 | all versions | |
| OSV | Go | github.com/mattermost/mattermost-server/v6 | all versions |
References
- https://mattermost.com/security-updates · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-5740 · ADVISORY
- https://github.com/mattermost/mattermost/commit/17939826efa20a97f087b3d390ec5136df350bae · WEB
- https://github.com/mattermost/mattermost · PACKAGE
- https://github.com/advisories/GHSA-w9m8-p4cc-4qj9 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 May 2026)