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

CVE-2026-6340: Mattermost doesn't validate 7zip archive structure before processing

May 18, 2026 (updated June 1, 2026)

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

References

  • github.com/advisories/GHSA-cjm8-jxpw-g43m
  • github.com/mattermost/mattermost/commit/fb11968f8798925c7b75711025bc5f991124ba26
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2026-6340

Code Behaviors & Features

Detect and mitigate CVE-2026-6340 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 5.3.2-0.20260325191733-fb11968f8798

Fixed versions

  • 5.3.2-0.20260325191733-fb11968f8798

Solution

Upgrade to version 5.3.2-0.20260325191733-fb11968f8798 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-789: Memory Allocation with Excessive Size Value

Source file

go/github.com/mattermost/mattermost-server/CVE-2026-6340.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:24:50 +0000.