Read the docs
TI-2024-35305 Aliases CVE-2024-52791GHSA-gp86-q8hg-fpxj

Denial of service through memory exhaustion in Matrix Media Repo

Priority MEDIUM 40CWE-789Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-789.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00787 56th percentileScored 2026-11-07
Fix Fixed matrix-media-repo (t2bot): 1.3.8github.com/t2bot/matrix-media-repo (Go): 1.3.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
t2botmatrix-media-repobefore 1.3.81.3.8Patch availableCNA
—github.com/t2bot/matrix-media-repo (Go)before 1.3.81.3.8Patch availableGHSA-gp86-q8hg-fpxj
  • matrix-media-repo Vendort2bot Affected before 1.3.8 Fixed in 1.3.8 Patch available CNA
  • github.com/t2bot/matrix-media-repo (Go) Vendor— Affected before 1.3.8 Fixed in 1.3.8 Patch available GHSA-gp86-q8hg-fpxj

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:*before 1.3.8Vulnerablet2bot
  • cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:* Versions before 1.3.8 Vulnerable ·t2bot

Remediation

  • Fix · CNA matrix-media-repo (t2bot) Fixed in 1.3.8
  • Fix · GHSA-gp86-q8hg-fpxj github.com/t2bot/matrix-media-repo (Go) Fixed in 1.3.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-52791
  2. 2026-10-03 Alias added: GHSA-gp86-q8hg-fpxj

References

  • TI-2024-24188 Unauthenticated writes to the media repository allow planting of problematic content in Matrix Media Repo CVSS 3.1MEDIUM 5.3
  • TI-2024-35262 Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo CVSS 3.1MEDIUM 5.3
  • TI-2024-24189 Denial of service/high operating costs through unauthenticated downloads in Matrix Media Repo CVSS 3.1HIGH 7.5
  • TI-2024-37402 Untrusted file formats can be thumbnailed, invoking potentially further untrusted decoders in Matrix Media Repo CVSS 3.1MEDIUM 6.8

Sources