# CVE-2024-31208: Synapse's V2 state resolution weakness allows DoS from remote room members

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.46%, higher than 74% of CVEs (2026-12-01)
- Published: 2024-04-23T17:26:39.171Z
- Modified: 2026-09-10T03:50:11.151Z
- Also known as: GHSA-3h7q-rfh9-xm4v, PYSEC-2024-50
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Synapse is an open-source Matrix homeserver. A remote Matrix user with malicious intent, sharing a room with Synapse instances before 1.105.1, can dispatch specially crafted events to exploit a weakness in the V2 state resolution algorithm. This can induce high CPU consumption and accumulate excessive data in the database of such instances, resulting in a denial of service. Servers in private federations, or those that do not federate, are not affected. Server administrators should upgrade to 1.105.1 or later. Some workarounds are available. One can ban the malicious users or ACL block servers from the rooms and/or leave the room and purge the room using the admin API.

(As written by CVE List.)

## Affected

- element-hq synapse: < 1.105.1
- matrix-synapse (PyPI): before 1.105.1; before 55b0aa847a61774b6a3acdc4b177a20dc019f01a
- matrix synapse: before 1.105.1
- fedoraproject fedora: 38; 39; 40

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/element-hq/synapse/security/advisories/GHSA-3h7q-rfh9-xm4v> (advisory, vendor-advisory, web)
- <https://github.com/element-hq/synapse/commit/55b0aa847a61774b6a3acdc4b177a20dc019f01a> (fix, patch, web)
- <https://github.com/element-hq/synapse/releases/tag/v1.105.1> (release-notes, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RR53FNHV446CB37TP45GZ6F6HZLZCK3K/> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6FCCO4ODTZ3FDS7TMW76PKOSEL2TQVB/> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSF4NJJSTSQRJQ47PLYYSCFYKJBP7DET/> (mailing-list, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31208> (advisory)
- <https://github.com/element-hq/synapse> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2024-50.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R6FCCO4ODTZ3FDS7TMW76PKOSEL2TQVB> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RR53FNHV446CB37TP45GZ6F6HZLZCK3K> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSF4NJJSTSQRJQ47PLYYSCFYKJBP7DET> (web)

## Sources

- CVE List: [CVE-2024-31208](https://www.cve.org/CVERecord?id=CVE-2024-31208), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-3h7q-rfh9-xm4v](https://github.com/advisories/GHSA-3h7q-rfh9-xm4v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-31208](https://nvd.nist.gov/vuln/detail/CVE-2024-31208), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-50](https://osv.dev/vulnerability/PYSEC-2024-50), CC-BY-4.0, modified 2024-04-23

---

Page: https://cve.day/CVE-2024-31208 · Whole record: https://cve.day/CVE-2024-31208.json · Rebuilt by cve.day 2026-11-25T22:58:39.532Z
