CVE-2024-52791

CVE-2024-52791 is a medium-severity vulnerability in T2bot Matrix-media-repo with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-789.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-52791?
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.
How severe is CVE-2024-52791?
CVE-2024-52791 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2024-52791 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (50th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-52791?
CVE-2024-52791 affects T2bot Matrix-media-repo. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-52791?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-52791 have an EU (EUVD) identifier?
Yes. CVE-2024-52791 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-0098.
When was CVE-2024-52791 published?
CVE-2024-52791 was published on 2025-01-16 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in T2bot Matrix-media-repo

All CVEs affecting T2bot Matrix-media-repo →

Other CWE-789 vulnerabilities

Browse all CWE-789 vulnerabilities →