CVE-2024-52791: Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix
CVE-2024-52791 is a medium-severity flaw (CVSS 5.3) affecting matrix-media-repo. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-789 |
| Published | 2025-01-16 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-52791?
matrix-media-repo: upgrade to 1.3.8. Exact commands for each OS are on this page.
Is CVE-2024-52791 being exploited?
CVE-2024-52791 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-52791 affect?
CVE-2024-52791 affects matrix-media-repo. Severity is medium (CVSS 5.3). 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 parsi
How urgent is CVE-2024-52791?
Priority 38/100. Remotely exploitable, no login, no user action
Related CVEs
- CVE-2024-56515 MEDIUM 6.8 UPGRADE Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix
- CVE-2024-52602 MEDIUM 5.0 UPGRADE Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix
- CVE-2024-36403 MEDIUM 5.3 UPGRADE Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix
- CVE-2024-36402 MEDIUM 5.3 UPGRADE Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix