{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "10.11.0"
              },
              {
                "fixed": "10.11.14"
              },
              {
                "introduced": "11.4.0"
              },
              {
                "fixed": "11.4.4"
              },
              {
                "introduced": "11.5.0"
              },
              {
                "fixed": "11.5.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "5b955468ea1ea8b56c0fb10feb258a36a767d7bb"
            },
            {
              "fixed": "b21ef302025ee100f04f358c16301dc75fea91d9"
            },
            {
              "introduced": "2a1ac98bd3fae587927adf9340ba266c8c02018e"
            },
            {
              "fixed": "37b08cfe7154241c2c6a8af0fd500e0785bbc900"
            },
            {
              "introduced": "9f2616376582893035a7e3cb38b0fab648bba4e8"
            },
            {
              "fixed": "cc4ef6863ee114bc96be4e34478ec2f0db3eac4e"
            }
          ],
          "repo": "https://github.com/mattermost/mattermost",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Mattermost",
    "cwe_ids": [
      "CWE-789"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6340.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "11.5.0"
          },
          {
            "last_affected": "11.5.1"
          },
          {
            "introduced": "10.11.0"
          },
          {
            "last_affected": "10.11.13"
          },
          {
            "introduced": "11.4.0"
          },
          {
            "last_affected": "11.4.3"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Mattermost versions 11.5.x \u003c= 11.5.1, 10.11.x \u003c= 10.11.13, 11.4.x \u003c= 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",
  "id": "CVE-2026-6340",
  "modified": "2026-07-08T05:38:06.977510203Z",
  "published": "2026-05-18T07:08:56.863Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6340.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://mattermost.com/security-updates"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6340"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Memory Exhaustion via Malicious 7zip File Upload"
}