Skip to main content

Mattermost CVE-2026-6340

| EUVDEUVD-2026-30744 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-05-18 Mattermost GHSA-cjm8-jxpw-g43m
4.3
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Analysis Generated
May 18, 2026 - 08:17 vuln.today

DescriptionCVE.org

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

AnalysisAI

Memory exhaustion denial of service in Mattermost Server versions 11.5.x through 11.5.1, 10.11.x through 10.11.13, and 11.4.x through 11.4.3 allows authenticated attackers to crash the server by uploading maliciously crafted 7zip archives containing excessive folder declarations. The vulnerability stems from insufficient validation of 7zip archive structure before decompression, enabling resource exhaustion attacks with low attack complexity. EPSS data not available, not listed in CISA KEV, indicating no confirmed widespread exploitation at time of analysis.

Technical ContextAI

This vulnerability affects Mattermost's file upload handling mechanism, specifically the 7zip archive decompression functionality. CWE-789 (Memory Allocation with Excessive Size Value) indicates the server fails to validate or limit the number of folder entries declared in 7zip archive headers before allocating memory. 7zip format allows metadata structures where an attacker can declare thousands or millions of folders without corresponding file data, causing the decompression library to pre-allocate memory for all declared structures. Mattermost's file attachment feature, commonly used for sharing archives in team collaboration, processes uploaded 7zip files without bounds checking on archive metadata, making it vulnerable to zip bomb variants targeting folder structures rather than compression ratios.

RemediationAI

Upgrade to patched Mattermost versions released after 11.5.1, 10.11.13, and 11.4.3 as specified in vendor security advisory MMSA-2026-00573 at https://mattermost.com/security-updates (exact fixed versions not independently confirmed from provided data - consult vendor advisory for precise upgrade targets). As an interim mitigation, restrict file upload permissions to trusted users only through Mattermost system console settings (System Console > Environment > File Storage), though this significantly reduces collaboration functionality. Alternatively, implement file size limits for 7zip uploads via reverse proxy rules (e.g., nginx location blocks limiting .7z files to 10MB), though sophisticated attackers can craft small files with excessive metadata. Monitor server memory usage and configure resource limits (ulimit, cgroups) to prevent complete system exhaustion, but note this may cause legitimate service degradation. Network segmentation to isolate Mattermost servers can contain impact but does not prevent authenticated user exploitation.

CVE-2026-48801 HIGH POC
8.7 Jun 26

Denial of service in linkify-it (npm) through v5.0.0 lets remote unauthenticated attackers wedge a rendering worker by s

CVE-2022-4044 MEDIUM POC
6.5 Nov 23

A denial-of-service vulnerability in Mattermost allows an authenticated user to crash the server via multiple large auto

CVE-2022-3257 MEDIUM POC
6.5 Sep 23

Mattermost version 7.1.x and earlier fails to sufficiently process a specifically crafted GIF file when it is uploaded w

CVE-2023-6458 CRITICAL
9.8 Dec 06

Mattermost webapp fails to validate route parameters in/<TEAM_NAME>/channels/<CHANNEL_NAME> allowing an attacker to perf

CVE-2020-26276 CRITICAL
9.8 Dec 17

Fleet is an open source osquery manager. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable,

CVE-2024-39777 CRITICAL
9.6 Aug 01

Mattermost versions 9.9.x <= 9.9.0, 9.5.x <= 9.5.6, 9.7.x <= 9.7.5 and 9.8.x <= 9.8.1 fail to disallow unsolicited invit

CVE-2020-26290 CRITICAL
9.6 Dec 28

Dex is a federated OpenID Connect provider written in Go. Rated critical severity (CVSS 9.6), this vulnerability is remo

CVE-2026-9354 MEDIUM POC
5.5 May 24

Improper output escaping in NousResearch Hermes Agent versions up to 2026.4.16 allows remote unauthenticated attackers t

CVE-2022-1002 MEDIUM POC
5.4 Mar 18

Mattermost 6.3.0 and earlier fails to properly sanitize the HTML content in the email invitation sent to guest users, wh

CVE-2023-2193 CRITICAL
9.1 Apr 20

Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker posse

CVE-2026-7387 HIGH
8.8 Jun 12

Privilege escalation in Mattermost server (11.6.x, 11.5.x, and 10.11.x branches) allows a low-privileged user holding gr

CVE-2026-3524 HIGH
8.8 Apr 06

Authorization bypass in Mattermost Plugin Legal Hold versions <=1.1.4 allows authenticated attackers to manipulate legal

Share

CVE-2026-6340 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy