6.5

CVE-2022-41952: Uncontrolled Resource Consumption in Matrix Synapse

Modified
AliasesGHSA-4822-jvwx-w47hPYSEC-2026-663UBUNTU-CVE-2022-41952
Published 22-11-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-41952 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in matrix-org synapse. EPSS estimates a 1.12% chance of exploitation in the next 30 days, higher than 67.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.12%
0%100%
Low · +0.18 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 22-11-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

Synapse before 1.52.0 with URL preview functionality enabled will attempt to generate URL previews for media stream URLs without properly limiting connection time. Connections will only be terminated after `max_spider_size` (default: 10M) bytes have been downloaded, which can in some cases lead to long-lived connections towards the streaming media server (for instance, Icecast). This can cause excessive traffic and connections toward such servers if their stream URL is, for example, posted to a large room with many Synapse instances with URL preview enabled. Version 1.52.0 implements a timeout mechanism which will terminate URL preview connections after 30 seconds. Since generating URL previews for media streams is not supported and always fails, 1.53.0 additionally implements an allow list for content types for which Synapse will even attempt to generate a URL preview. Upgrade to 1.53.0 to fully resolve the issue. As a workaround, turn off URL preview functionality by setting `url_preview_enabled: false` in the Synapse configuration file.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.12%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

Increase +0.18 pp

From 0.94% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • matrix-synapse< 1.53.0-1
Matrix1 product
Matrix-org1 product
PyPI1 product
  • matrix-synapse< 1.53.0
Ubuntu1 product
  • matrix-synapseAll versions (No fix recorded)

5 vendors · 5 products

References

12 links
Show all 12 references