Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost/server/v8
  4. ›
  5. CVE-2026-5740

CVE-2026-5740: Mattermost doesn't properly validate msgpack-encoded WebSocket frames before memory allocation

May 26, 2026 (updated June 29, 2026)

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

References

  • github.com/advisories/GHSA-w9m8-p4cc-4qj9
  • github.com/mattermost/mattermost/commit/17939826efa20a97f087b3d390ec5136df350bae
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2026-5740

Code Behaviors & Features

Detect and mitigate CVE-2026-5740 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.0.0-20260410202636-17939826efa2

Fixed versions

  • 8.0.0-20260410202636-17939826efa2

Solution

Upgrade to version 8.0.0-20260410202636-17939826efa2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-789: Memory Allocation with Excessive Size Value

Source file

go/github.com/mattermost/mattermost/server/v8/CVE-2026-5740.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 11 Jul 2026 00:18:40 +0000.