CVE-2025-20630 Mobile crash via object that can't be cast to String in Attachment Field

Medium 6.5 Published Updated

An attacker can crash the Mattermost mobile application by sending a post with attachment fields that cannot be cast to a String.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-20630?

CVE-2025-20630 is a medium-severity denial of service vulnerability in Mattermost, published on 16 Jan 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-1287

Which versions are affected by CVE-2025-20630?

It affects 1 product.

Products include Mattermost Mattermost Mobile.

How do I fix CVE-2025-20630?

No fix has been published for CVE-2025-20630 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-20630 being exploited?

There is no known exploitation of CVE-2025-20630 in the wild and no public exploit code.

Sources

Also known as GHSA-93w4-x8jh-j7m2.

Is CVE-2025-20630 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free