Memory Allocation with Excessive Size Value Affecting github.com/mattermost/mattermost/server/v8/platform/services/docextractor package, versions >=10.11.0-rc1 <10.11.14-rc1>=11.4.0-rc1 <11.4.4>=11.5.0-rc1 <11.5.2-rc3>=11.6.0-rc1 <11.6.0-rc3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMATTERMOSTMATTERMOSTSERVERV8PLATFORMSERVICESDOCEXTRACTOR-16778754
  • published20 May 2026
  • disclosed18 May 2026
  • creditJuho Forsén

Introduced: 18 May 2026

NewCVE-2026-6340  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade github.com/mattermost/mattermost/server/v8/platform/services/docextractor to version 10.11.14-rc1, 11.4.4, 11.5.2-rc3, 11.6.0-rc3 or higher.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the 7zip file upload process. An attacker can exhaust server memory resources by uploading a specially crafted 7zip archive containing excessive folder declarations.

CVSS Base Scores

version 4.0
version 3.1