Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server
  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 starting from 10.11.0 before 10.11.15, all versions starting from 11.4.0 before 11.4.5, all versions starting from 11.5.0 before 11.5.4, all versions starting from 11.6.0 before 11.6.1

Fixed versions

  • 10.11.15
  • 11.4.5
  • 11.5.4
  • 11.6.1

Solution

Upgrade to versions 10.11.15, 11.4.5, 11.5.4, 11.6.1 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/CVE-2026-5740.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 10 Jul 2026 12:17:16 +0000.