BreachSpiderVerified, not vibes

CVE-2022-41952 in Matrix Synapse

Medium 5.3

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 connect...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.3
EPSS1.2%
EPSS percentile69th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Matrix Synapse < 1.53.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-41952
BreachSpider IDBS-2022-GLOBAL-333883-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published2022-11-22
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-400: Uncontrolled Resource Consumption (DoS)

Software does not properly limit resource usage, allowing an attacker to exhaust CPU, memory, disk, or bandwidth.

CWE-772: CWE-772

Related attack patterns (CAPEC)

CAPEC-147 XML Ping of the Death via CWE-400

CAPEC-469 HTTP DoS via CWE-772

CAPEC-492 Regular Expression Exponential Blowup via CWE-400

CAPEC-227 Sustained Client Engagement via CWE-400

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Synapse before version 1.52.0, when URL preview functionality is enabled, is vulnerable to long-lived connections due to improper connection time limits for media stream URLs. This can lead to resource exhaustion on the server.

An attacker can exploit this vulnerability by providing a media stream URL that causes Synapse to establish a long-lived connection while attempting to generate a URL preview. The connection will only be terminated after downloading a significant amount of data, as defined by the `max_spider_size` parameter.

Questions

What is CVE-2022-41952?

Synapse before version 1.52.0, when URL preview functionality is enabled, is vulnerable to long-lived connections due to improper connection time limits for media stream URLs. This can lead to resource exhaustion on the server.

What is the CVSS score for CVE-2022-41952?

CVE-2022-41952 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. EPSS: 1.2%.

Is CVE-2022-41952 actively exploited?

No confirmed active exploitation of CVE-2022-41952 as of 2026-09-25.

How do I remediate CVE-2022-41952?

Priority: MEDIUM.

What systems are affected by CVE-2022-41952?

CVE-2022-41952 affects Matrix Synapse.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Matrix","product":"Synapse","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.