CVE-2024-52791
HIGH 7.5CVSS 3.1matrix-media-repo (MMR) allows a denial of service through memory exhaustion
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.
- Published
- 16 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-789
- Also known as
- GHSA-gp86-q8hg-fpxjGO-2025-3398
- Sources
- NVDJSONOSV GHSA-gp86-q8hg-fpxjJSONOSV GO-2025-3398JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | t2bot | matrix-media-repocpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:* |
< 1.3.8 | 1.3.8 |
| OSV | Go | github.com/t2bot/matrix-media-repo | < 1.3.8 | 1.3.8 |
References
- https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8 · Release Notes, WEB
- https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-gp86-q8hg-fpxj · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-52791 · ADVISORY
- https://github.com/t2bot/matrix-media-repo · PACKAGE
- https://pkg.go.dev/vuln/GO-2025-3398 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 16 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jan 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jan 2025)