CVEfocus › CVE database › CVE-2025-61672

CVE-2025-61672Synapse: Invalid device keys degrade federation functionality

CVSS 5.3 MediumEPSS 0.7% (higher than 49% of CVEs)Published 2025-10-08Updated 2025-10-15Assigner: GitHub_M

Synapse is an open source Matrix homeserver implementation. Lack of validation for device keys in Synapse before 1.138.3 and in Synapse 1.139.0 allow an attacker registered on the victim homeserver to degrade federation functionality, unpredictably breaking outbound federation to other homeservers. The issue is patched in Synapse 1.138.3, 1.138.4, 1.139.1, and 1.139.2. Note that even though 1.138.3 and 1.139.1 fix the vulnerability, they inadvertently introduced an unrelated regression. For this reason, the maintainers of Synapse recommend skipping these releases and upgrading straight to 1.138.4 and 1.139.2.

CWE-1287

What to do

Fixed builds are available from Alpine, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
3Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04matrix-synapseUnder investigationUBUNTU-CVE-2025-61672
Ubuntu 22.04matrix-synapseFix pendingUBUNTU-CVE-2025-61672
Ubuntu 20.04matrix-synapseFix pendingUBUNTU-CVE-2025-61672
Ubuntu 18.04matrix-synapseFix pendingUBUNTU-CVE-2025-61672
Alpine Linux 3.24synapseFixed1.139.2-r0ALPINE-CVE-2025-61672
Alpine Linux 3.23synapseFixed1.139.2-r0ALPINE-CVE-2025-61672
Alpine Linux 3.22synapseFixed1.139.2-r0ALPINE-CVE-2025-61672
PyPI librarymatrix-synapseFixed1.138.3PYSEC-2026-1612

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.