Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
MEDIUM severity

CVE-2026-6340 — v8

MEDIUMFix: mattermost/mattermost@fb11968

CVE-2026-6340 is a medium-severity (CVSS 4.3) CWE-789 vulnerability in github.com/mattermost/mattermost/server/v8. A fix is available for github.com/mattermost/mattermost/server/v8 — see the affected versions and patch details below.

Memory Exhaustion via Malicious 7zip File Upload

Also known asGHSA-cjm8-jxpw-g43mGO-2026-5325
Published
May 18, 2026
Updated
Aug 12, 2026
Affected
5 pkgs
Patched
5 / 5
Exploits
None indexed
Exploitation data as of Sep 27, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-6340.

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs34th percentile — riskier than 34% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2026-6340 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 380,526 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

5 pkgs affected
🐹github.com/mattermost/mattermost/server/v8🐹github.com/mattermost/mattermost/server/v8🐹github.com/mattermost/mattermost/server/v8🐹github.com/mattermost/mattermost/server/v8🐹github.com/mattermost/mattermost-server

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

5 total 5 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/mattermost/mattermost/server/v8≥ 11.5.0&&< 11.5.211.5.2go get github.com/mattermost/mattermost/server/v8@v11.5.2
🐹Gogithub.com/mattermost/mattermost/server/v8≥ 10.11.0&&< 10.11.1410.11.14go get github.com/mattermost/mattermost/server/v8@v10.11.14
🐹Gogithub.com/mattermost/mattermost/server/v8≥ 11.4.0&&< 11.4.411.4.4go get github.com/mattermost/mattermost/server/v8@v11.4.4
🐹Gogithub.com/mattermost/mattermost/server/v8all versions8.0.0-20260325191733-fb11968f8798go get github.com/mattermost/mattermost/server/v8@v8.0.0-20260325191733-fb11968f8798
🐹Gogithub.com/mattermost/mattermost-serverall versions5.3.2-0.20260325191733-fb11968f8798go get github.com/mattermost/mattermost-server@v5.3.2-0.20260325191733-fb11968f8798

Affected Products

1 product · 3 configurations
Application
mattermost servermattermost
≥ 11.5.0 && < 11.5.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/mattermost/mattermost/server/v8, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/mattermost/mattermost/server/v8 to 11.5.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-6340 is resolved across your whole dependency graph.

  3. Workarounds

    Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.

Frequently Asked Questions

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
O3 Security · Impact-Aware SCA

Is CVE-2026-6340 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2026-6340: v8 DoS (Medium 4.3) | O3 Security