Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify reachable Mastodon instance
-
DeliveryCraft malformed <math> MathML node
-
ExploitDeliver via federation or post
-
ExecutionSanitizer raises uncaught exception
-
ImpactService crashes, denying availability
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Exploitation requires that the target run an unpatched Mastodon (below 4.5.11 / 4.4.18 / 4.3.24) and that the malformed |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) is internally consistent with a remotely reachable, no-authentication, no-interaction availability attack and accurately reflects the federated, network-exposed nature of Mastodon. No EPSS score, SSVC decision, KEV listing, or POC was provided, so real-world exploitation pressure is currently unquantified; the exploitation status is 'no public exploit identified at time of analysis.' One data conflict must be flagged: the input Tags label this 'Information Disclosure,' but the CVSS vector sets C:N/I:N and only A:H, and the description explicitly characterizes it as a DoS - the tag appears to be mislabeled and should not be treated as a confidentiality issue. Net assessment: a genuine, easily reachable availability risk for any instance that federates with untrusted servers, but not a confidentiality/integrity threat and not (yet) known to be actively exploited. |
| Exploit ScenarioDerived | An attacker operating or controlling any federating ActivityPub instance posts or sends content containing a deliberately malformed |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Denial of service in Mastodon affects all self-hosted instances prior to 4.5.11, 4.4.18, and 4.3.24, where the math content sanitizer fails to handle exceptions raised while processing malformed <math> nodes (MathML). A remote attacker can craft content containing broken math markup that propagates an uncaught exception, crashing whole-server services or disrupting service for targeted users depending on which component processes the malformed node. No public exploit has been identified at time of analysis, and the issue is not in CISA KEV; CVSS is 7.5 with availability-only impact.
RemediationAI
Vendor-released patch: upgrade to Mastodon 4.5.11, 4.4.18, or 4.3.24 (whichever matches your branch) per the advisory at https://github.com/mastodon/mastodon/security/advisories/GHSA-qrgq-9fx2-vf2r. Upgrading is the primary and recommended fix because the flaw is in core sanitization logic. If an immediate upgrade is not possible, compensating controls are limited given Mastodon must process federated content: operators can defederate from or limit untrusted/unknown instances to reduce the inbound surface for malformed <math> nodes (trade-off: loses federation reach with those servers), and can place rate limiting and process supervision (e.g., systemd auto-restart of Puma/Sidekiq workers) in front of services so a crashed worker recovers quickly (trade-off: mitigates symptoms, not the underlying exception, and repeated crashes can still degrade service). Monitor Sidekiq and web/streaming error logs for unhandled exceptions involving math/MathML parsing as a detection signal.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mastodon is a Ruby on Rails ActivityPub federated microblogging server that sanitizes inbound HTML/MathML before storing and rendering it. The root cause is CWE-248 (Uncaught Exception): the math sanitizer routine lacks exception handling, so a malformed <math> element triggers an error that is not rescued and propagates up the stack, aborting the request or background job that touches the content. Because Mastodon federates content over ActivityPub, malformed nodes can arrive from remote instances and be processed by multiple services (web rendering, streaming, background Sidekiq workers, federation handlers), which is why the advisory notes impact ranges from a single targeted user's services to the entire server. The affected CPE is cpe:2.3:a:mastodon:mastodon for all versions below the fixed releases.
Know when Mastodon gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remotely reachable via federation with no auth or interaction and low complexity; impact is availability-only (uncaught-exception crash), so C:N/I:N/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Mastodon is a free, open-source social network server based on ActivityPub. Prior to 4.5.11, 4.4.18, and 4.3.24, a DoS can be triggered by (Uncaught Exception vulerability), due to missing exception handling in the math sanitizer. Malformed <math> nodes can result in a DoS of a whole server or targeted users services, depending on the type of action that includes the malformed nodes and the services interacting with it. This vulnerability is fixed in 4.5.11, 4.4.18, and 4.3.24.
Executive ViewAI
Mastodon self-hosted instances are vulnerable to denial-of-service attacks through malformed content that can crash services or disrupt user access, creating availability risk for organizations using Mastodon as communications infrastructure. Vendor patches are available and should be deployed urgently to restore availability protections. Organizations operating Mastodon deployments face direct operational and service continuity risk from this vulnerability.
Vendor-released patch: 4.5.11, 4.4.18, and 4.3.24. If immediate patching is not feasible, implement content filtering to block or sanitize math markup and monitor application logs for MathML-related exceptions as interim detection controls.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Mastodon through 4.0.2 allows attackers to cause a denial of service (large Sidekiq pull queue) by creating bot accounts
Mastodon is a free, open-source social network server based on ActivityPub. Rated high severity (CVSS 7.4), this vulnera
Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut
Mastodon is a free, open-source social network server based on ActivityPub. Rated critical severity (CVSS 9.9), this vul
Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut
Improper Restriction of Excessive Authentication Attempts in GitHub repository mastodon/mastodon prior to 4.0.0. Rated c
Server-Side Request Forgery in Mastodon before 4.5.10, 4.4.17, and 4.3.23 lets attackers coerce the server into issuing
Server-side request forgery in Mastodon (versions before 4.5.10, 4.4.17, and 4.3.23) lets an attacker who controls autho
Mastodon prior to versions 4.5.8, 4.4.15, and 4.3.21 contains an unauthenticated Open Redirect vulnerability in the `/we
Unauthenticated attackers can bypass FASP administrator approval in Mastodon 4.4.0-4.4.13 and 4.5.0-4.5.6 to subscribe t
Sign-up restriction bypass in Mastodon (self-hosted ActivityPub social server) before v4.5.9, v4.4.16, and v4.3.22 allow
Mastodon is a self-hosted, federated microblogging platform. Rated high severity (CVSS 8.2), this vulnerability is remot
EUVD-2026-39060
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB