CVE-2024-52791

HIGH CVSS 3.1: 7.5 EPSS 0.79%
Updated Aug 20, 2025
T2Bot
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions before 1.3.8
Fixed In 1.3.8
Type CWE-789
Vendor T2Bot
Public PoC No

Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. MMR makes requests to other servers as part of normal operation, and these resource owners can return large amounts of JSON back to MMR for parsing. In parsing, MMR can consume large amounts of memory and exhaust available memory.

This is fixed in MMR v1.3.8. Users are advised to upgrade. For users unable to upgrade; forward proxies can be configured to block requests to unsafe hosts.

Alternatively, MMR processes can be configured with memory limits and auto-restart. Running multiple MMR processes concurrently can help ensure a restart does not overly impact users.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
T2bot Matrix-Media-Repo
cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:*
— 1.3.8