Home / t2bot / matrix-media-repo / CVE-2024-52791
CVE-2024-52791: is it exploited, and which versions of t2bot matrix-media-repo are affected and fixed?
CVE-2024-52791 is a memory Allocation with Excessive Size Value vulnerability in t2bot matrix-media-repo. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: github.com/t2bot/matrix-media-repo before 1.3.8 (GitHub advisory GHSA-gp86-q8hg-fpxj). Fixed in 1.3.8 (GitHub advisory GHSA-gp86-q8hg-fpxj). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2024-52791?
Denial of service through memory exhaustion in Matrix Media Repo
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.
From the CVE record by GitHub_M, last updated February 12, 2025, 20:31 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| t2bot | matrix-media-repo | < 1.3.8 |
As the CVE record by GitHub_M states it, last updated February 12, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/t2bot/matrix-media-repo | < 1.3.8 | 1.3.8 | GHSA-gp86-q8hg-fpxj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 20, 2025. Summary: matrix-media-repo (MMR) allows a denial of service through memory exhaustion.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| t2bot | matrix-media-repo | before 1.3.8 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:07 UTC.
How severe is CVE-2024-52791?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-52791 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, January 16, 2025)
- EPSS
- 0.79% probability of exploitation activity in the next 30 days, percentile 57.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-789 Memory Allocation with Excessive Size Value
Where are the vendor advisories and references?
- https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-gp86-q8hg-fpxj x_refsource_CONFIRM
- https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 15, 2024
- Published
- January 16, 2025, 19:12 UTC
- CVE record updated
- February 12, 2025, 20:31 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 08:07 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect matrix-media-repo?
- Jan 16, 2025CVE-2024-36402 t2bot matrix-media-repo: authentication bypass (improper authentication)
- Jan 16, 2025CVE-2024-36403 t2bot matrix-media-repo: denial of service (resources allocated without limits)
- Jan 16, 2025CVE-2024-52602 t2bot matrix-media-repo: server-side request forgery (SSRF)
- Jan 16, 2025CVE-2024-56515 t2bot matrix-media-repo: deserialization of untrusted data
Every CVE in matrix-media-repo
Questions about CVE-2024-52791
Is CVE-2024-52791 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.79% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of t2bot matrix-media-repo are affected by CVE-2024-52791?
github.com/t2bot/matrix-media-repo before 1.3.8, per the GitHub advisory GHSA-gp86-q8hg-fpxj. The tables above give every range the sources list.
Which version fixes CVE-2024-52791?
1.3.8, per the GitHub advisory GHSA-gp86-q8hg-fpxj. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-52791?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-52791?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.