CVE-2024-52791T2bot Matrix-media-repo
High 7.5 No auth needed
Follow: this CVE · T2bot · T2bot Matrix-media-repo We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 55
- Auth required
- No
- Published
- Jan 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-789
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Matrix-media-repo.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/t2bot/matrix-media-repo |
< 1.3.8 |
1.3.8 |
go get github.com/t2bot/matrix-media-repo@v1.3.8 |
| Go | github.com/t2bot/matrix-media-repo |
< 1.3.8 |
1.3.8 |
go get github.com/t2bot/matrix-media-repo@v1.3.8 |
Per OSV / GitHub Advisories (GHSA-gp86-q8hg-fpxj, GO-2025-3398). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| t2bot | matrix-media-repo | < 1.3.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Vendor Advisory