Medium
Mobile crash via object that can't be cast to String in Attachment Field
Type: advisorySources: OSV
Mattermost Mobile versions <=2.22.0 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the mobile to crash via creating and sending such a post to a channel.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-20630
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 02:29 UTC · Revision 1
Source evidence
Mobile crash via object that can't be cast to String in Attachment Field
core-osv · Original sourcePublished 16 Jan 2025, 18:18 UTC
Mattermost Mobile versions <=2.22.0 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the mobile to crash via creating and sending such a post to a channel.
osv:CVE-2025-20630
Complete source record
{
"id": "bcdb10883c5a2cdce98101f4c6cd38eeda699166452f44b74db52acfc9122d18",
"url": "https://osv.dev/vulnerability/CVE-2025-20630",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Mobile crash via object that can't be cast to String in Attachment Field",
"summary": "Mattermost Mobile versions <=2.22.0 fail to properly handle posts with attachments containing fields that cannot be cast to a String, which allows an attacker to cause the mobile to crash via creating and sending such a post to a channel.",
"evidence": "osv:CVE-2025-20630",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-20630",
"aliases": [
"CVE-2025-20630"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mattermost/mattermost-mobile",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "25563d1598f31c34baaa718cfd600cd7e2333438"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mattermost:mattermost_mobile:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.23.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-20630.json"
}
}
],
"modified": "2026-10-28T02:30:45.973366603Z",
"provider": "osv",
"references": [
"https://mattermost.com/security-updates",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/20xxx/CVE-2025-20630.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-20630"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1287"
],
"cna_assigner": "Mattermost",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "<=2.22.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/20xxx/CVE-2025-20630.json"
}
},
"related_cves": [
{
"value": "CVE-2025-20630",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 514285,
"published_at": "2025-01-16T18:18:58.742+00:00"
}