# CVE-2022-39374: Synapse Denial of service due to incorrect application of event authorization rules during state resolution

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-05-26 · Modified: 2025-02-13
- Aliases: GHSA-p9qp-c452-f9r7, PYSEC-2023-66, UBUNTU-CVE-2022-39374, DEBIAN-CVE-2022-39374, ALPINE-CVE-2022-39374
- Record: https://cvemate.com/vulnerability/CVE-2022-39374 · JSON: https://cvemate.com/vulnerability/CVE-2022-39374/json

## Description

```text
Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. If Synapse and a malicious homeserver are both joined to the same room, the malicious homeserver can trick Synapse into accepting previously rejected events into its view of the current state of that room. This can be exploited in a way that causes all further messages and state changes sent in that room from the vulnerable homeserver to be rejected. This issue has been patched in version 1.68.0
```

## Signals

- CVSS: 6.5 medium (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.941%, percentile 62.163%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine synapse (Alpine Linux): ≥ 1.62.0, \< 1.70.1-r0 \| ≥ 1.62.0, \< 1.68.0-r0
- debian matrix-synapse (Debian): \< 1.68.0-1
- ubuntu matrix-synapse (Ubuntu): \< 1.11.0-1ubuntu0.1~esm2 \| \< 1.53.0-1ubuntu0.1~esm2
- matrix-org synapse: ≥ 1.62.0, \< 1.68.0
- matrix synapse: ≥ 1.62.0, \< 1.68.0
- PyPI matrix-synapse (PyPI): ≥ 1.62.0, \< 1.68.0rc1 \| ≥ 1.62.0, \< 1.68.0

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-p9qp-c452-f9r7>
- <https://github.com/matrix-org/synapse/pull/13723>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UJIJRP5ZH6B3KGFLHCAKR2IX2Y4Z25QD/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-39374>
- <https://github.com/matrix-org/synapse/commit/b73cbb82157d9666e8d667733afebc0d09ed858c>
- <https://github.com/matrix-org/synapse>
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2023-66.yaml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UJIJRP5ZH6B3KGFLHCAKR2IX2Y4Z25QD>
- <https://ubuntu.com/security/CVE-2022-39374>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2209956>
- <https://www.cve.org/CVERecord?id=CVE-2022-39374>
- <https://ubuntu.com/security/notices/USN-7444-1>
- <https://security-tracker.debian.org/tracker/CVE-2022-39374>
- <https://security.alpinelinux.org/vuln/CVE-2022-39374>

---

Data as of 2026-12-05T09:58:40.112Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
