Skip to main content

Mattermost EUVDEUVD-2026-30744

| CVE-2026-6340 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-05-18 Mattermost GHSA-cjm8-jxpw-g43m
6.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Mattermost credentials
  2. Delivery
    Craft malicious 7zip with excessive folders
  3. Exploit
    Upload via file attachment
  4. Execution
    Server processes archive
  5. Persist
    Memory exhaustion
  6. Impact
    Service denial

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
Exploitation Conditions

Exploitation requires valid Mattermost user authentication (PR:L) with file upload permissions enabled. The vulnerability is triggered when Mattermost's file processing functionality attempts to handle uploaded 7zip archives, meaning file uploads must be permitted in the target instance configuration. No special deployment mode, network configuration, or administrator privileges required beyond standard authenticated user access. Limiting factors include: file upload feature must be enabled (default in most Mattermost deployments), attacker must possess or compromise a valid user account, and successful exploitation only affects availability without enabling privilege escalation or lateral movement. Organizations with restrictive file upload policies or those using allow-lists for permitted file types (excluding .7z) are not vulnerable.

Impact

Real-world risk is moderate despite the 4.3 CVSS score. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L) indicates network-accessible exploitation with low complexity, but requires valid user credentials (PR:L) and only causes limited availability impact (A:L). Not present in CISA KEV and vendor-reported without external exploit disclosure suggests this is a proactively disclosed issue rather than an actively exploited threat. However, attack automation is trivial - any authenticated Mattermost user can craft a malicious 7zip file using readily available tools, making this exploitable at scale in organizations with many users or compromised accounts. The primary risk is to organizations using Mattermost for file sharing where user authentication is low-barrier (guest accounts, SSO with broad access). Impact is limited to temporary service disruption rather than data breach, but repeated exploitation could sustain prolonged outages. Priority should be elevated for Mattermost instances with external user access or those critical to business operations.

Exploit ScenarioDerived

An authenticated attacker with valid Mattermost credentials creates a malicious 7zip archive using tools like 7-Zip or p7zip, structuring the archive with 100,000+ empty folder entries in the metadata header while keeping actual compressed data minimal. The attacker uploads this crafted file through Mattermost's file attachment feature in any channel or direct message. Upon upload processing, the Mattermost server attempts to parse and decompress the archive, allocating memory for each declared folder structure without validation limits. Server memory rapidly exhausts as the decompression library processes the excessive folder declarations, causing service degradation or complete denial of service for all users until the server process is restarted or crashes.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 18, 2026

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.

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.

Affected VersionsENISA

Mattermost 11.4.0 ≤11.4.3
Mattermost 11.5.0 ≤11.5.1
Mattermost 10.11.0 ≤10.11.13

Affected Packages

go github.com/mattermost/mattermost-server fix: 5.3.2-0.20260325191733-fb11968f8798, 10.11.14+incompatible, 11.4.4+incompatible, 11.5.2+incompatible
go github.com/mattermost/mattermost-server/v5 no fix
go github.com/mattermost/mattermost-server/v6 no fix
go github.com/mattermost/mattermost/server/v8 fix: 8.0.0-20260325191733-fb11968f8798, 10.11.14, 11.4.4, 11.5.2
euvd mattermost no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Mattermost gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

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

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
CVSS changed
Oct 14, 2026 - 20:23 NVD
4.3 (MEDIUM) 6.5 (MEDIUM)

DescriptionNVD

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

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-25279 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate boa

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-2025-4981 CRITICAL
9.9 Jun 20

A remote code execution vulnerability (CVSS 9.9) that allows authenticated users. Critical severity with potential for s

CVE-2025-20051 CRITICAL
9.9 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to properly validate inp

CVE-2025-12421 CRITICAL
9.9 Nov 27

Mattermost versions 11.0.x <= 11.0.2, 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12 fail to to verify that t

CVE-2025-12419 CRITICAL
9.9 Nov 27

Mattermost versions 10.12.x <= 10.12.1, 10.11.x <= 10.11.4, 10.5.x <= 10.5.12, 11.0.x <= 11.0.3 fail to properly validat

CVE-2026-4858 CRITICAL
9.9 May 21

Privilege escalation to full administrative control in Mattermost self-hosted server (versions 11.6.0 and earlier in the

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-2025-24490 CRITICAL
9.6 Feb 24

Mattermost versions 10.4.x <= 10.4.1, 9.11.x <= 9.11.7, 10.3.x <= 10.3.2, 10.2.x <= 10.2.2 fail to use prepared statemen

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

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