Denial of service in Mastodon JSON-LD activity processing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · GHSA-cf49-73r7-rxj6. Fix status from GitHub. Impact type from CWE-400.
Summary
The Mastodon package for RubyGems before 4.7.5 has an uncontrolled resource consumption flaw (CWE-400) in JSON-LD processing. A size check for large graphs runs after another expensive operation, so each crafted activity can take several seconds to process. An unauthenticated remote attacker can send such activities to cause a denial of service.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Summary While Mastodon added mitigations for https://github.com/mastodon/mastodon/security/advisories/GHSA-vgm8-frgh-rh2v by rejecting large graphs before RDF Dataset Canonicalization, it performed this check after another expensive (though far less expensive than RDF Dataset Canonicalization) operation. ### Impact An attacker could craft activities that can each take up to several seconds for Mastodon to process, causing Denial of Service.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | mastodon (rubygems) | < 4.7.5 | — | No fix listed | GHSA-cf49-73r7-rxj6 |
- mastodon (rubygems) Vendor— Affected < 4.7.5 Fixed in — No fix listed GHSA-cf49-73r7-rxj6
Remediation
The sources list no fixed version for mastodon.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Timeline
- 2026-11-12 Threatist record created from GHSA-cf49-73r7-rxj6
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences