# CVE-2026-6340: Memory Exhaustion via Malicious 7zip File Upload

- Severity: Medium 4.3 (CVSS:3.1, scored by Mattermost) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-05-18T07:08:56.863Z
- Modified: 2026-10-14T20:10:00.190Z
- Also known as: GHSA-cjm8-jxpw-g43m, GO-2026-5325
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Mattermost

## 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

(As written by CVE List.)

## Affected

- Mattermost Mattermost: from 11.5.0 up to 11.5.1; from 10.11.0 up to 10.11.13; from 11.4.0 up to 11.4.3 (not affected: 11.6.0; 11.5.2; 10.11.14; 11.4.4)
- github.com/mattermost/mattermost/server/v8 (Go): from 11.5.0 before 11.5.2; from 10.11.0 before 10.11.14; from 11.4.0 before 11.4.4; before 8.0.0-20260325191733-fb11968f8798
- github.com/mattermost/mattermost-server (Go): before 5.3.2-0.20260325191733-fb11968f8798; from 10.11.0+incompatible before 10.11.14+incompatible; from 11.4.0+incompatible before 11.4.4+incompatible; from 11.5.0+incompatible before 11.5.2+incompatible
- github.com/mattermost/mattermost-server/v5 (Go): all versions
- github.com/mattermost/mattermost-server/v6 (Go): all versions
- mattermost mattermost_server: from 10.11.0 before 10.11.14; from 11.4.0 before 11.4.4; from 11.5.0 before 11.5.2

## Every score

- Mattermost: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://mattermost.com/security-updates> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6340> (advisory)
- <https://github.com/mattermost/mattermost/commit/fb11968f8798925c7b75711025bc5f991124ba26> (web)
- <https://github.com/mattermost/mattermost> (package)
- <https://github.com/advisories/GHSA-cjm8-jxpw-g43m> (advisory)

## Sources

- CVE List: [CVE-2026-6340](https://www.cve.org/CVERecord?id=CVE-2026-6340), CVE Terms of Use, modified 2026-05-18
- GitHub Advisory Database: [GHSA-cjm8-jxpw-g43m](https://github.com/advisories/GHSA-cjm8-jxpw-g43m), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5325](https://pkg.go.dev/vuln/GO-2026-5325), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-6340](https://nvd.nist.gov/vuln/detail/CVE-2026-6340), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-6340 · Whole record: https://cve.day/CVE-2026-6340.json · Rebuilt by cve.day 2026-11-25T22:59:21.913Z
