Stack overflow in SAML login in Mattermost
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-787 and the CVSS impact.
Summary
A call stack overflow bug in the SAML login feature in Mattermost server in versions up to and including 6.3.2 allows an attacker to crash the server via submitting a maliciously crafted POST body.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Mattermost | Mattermost | 6.3 to before 6.3.3; 6.2 to before 6.2.3; 6.1 to before 6.1.3; 5.37 to before 5.37.8 | 6.3.3, 6.2.3, 6.1.3, 5.37.8 | Patch available | CNA |
- Mattermost VendorMattermost Affected 6.3 to before 6.3.3; 6.2 to before 6.2.3; 6.1 to before 6.1.3; 5.37 to before 5.37.8 Fixed in 6.3.3, 6.2.3, 6.1.3, 5.37.8 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* | before 5.37.8; 6.0.0 to before 6.1.3; 6.2.0 to before 6.2.3; 6.3.0 to before 6.3.3 | Vulnerable | Mattermost |
- cpe:2.3:a:mattermost:mattermost_server:*:*:*:*:*:*:*:* Versions before 5.37.8; 6.0.0 to before 6.1.3; 6.2.0 to before 6.2.3; 6.3.0 to before 6.3.3 Vulnerable ·Mattermost
Remediation
- Fix · CNA Mattermost (Mattermost) Fixed in 6.3.3, 6.2.3, 6.1.3, 5.37.8
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Mattermost 5.37.8, 6.1.3 and 2 more versions
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2022-00808 Stack overflow in document extractor in MattermostPriority LOW 31
Timeline
- 2026-10-02 Threatist record created from CVE-2022-0903
- 2026-10-03 Alias added: GHSA-8wqp-c6pq-684g
References
Advisory 1
More Mattermost Server vulnerabilities
- TI-2025-18933 Arbitrary file read in Mattermost Boards via import & export board archive CVSS 3.1CRITICAL 9.9
- TI-2025-04465 Path Traversal Leading to RCE by Any Authenticated Mattermost User CVSS 3.1CRITICAL 9.9
- TI-2017-14068 An issue was discovered in Mattermost Server before 3.6.2. CVSS 3.1CRITICAL 9.8
- TI-2017-14060 An issue was discovered in Mattermost Server before 3.8.2, 3.7.5, and 3.6.7. CVSS 3.1CRITICAL 9.8
- TI-2017-14048 An issue was discovered in Mattermost Server before 4.1.0, 4.0.4, and 3.10.3. CVSS 3.1CRITICAL 9.8
- TI-2025-14360 Arbitrary file read via block duplication in Mattermost Boards CVSS 3.1CRITICAL 9.9
Sources
- CVE-2022-0903 · CVE Program
- CVE-2022-0903 · NVD
- FIRST EPSS
- GHSA-8wqp-c6pq-684g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences