Read the docs
TI-2024-37402 Aliases CVE-2024-56515GHSA-rcxc-wjgw-579r

Untrusted file formats can be thumbnailed, invoking potentially further untrusted decoders in Matrix Media Repo

Priority LOW 31CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

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

Summary

Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. If SVG or JPEGXL thumbnailers are enabled (they are disabled by default), a user may upload a file which claims to be either of these types and request a thumbnail to invoke a different decoder in ImageMagick. In some ImageMagick installations, this includes the capability to run Ghostscript to decode the image/file. If MP4 thumbnailers are enabled (also disabled by default), the same issue as above may occur with the ffmpeg installation instead. MMR uses a number of other decoders for all other file types when preparing thumbnails. Theoretical issues are possible with these decoders, however in testing they were not possible to exploit. This is fixed in MMR v1.3.8. MMR now inspects the mimetype of media prior to thumbnailing, and picks a thumbnailer based on those results instead of relying on user-supplied values. This may lead to fewer thumbnails when obscure file shapes are used. This also helps narrow scope of theoretical issues with all decoders MMR uses for thumbnails. Users are advised to upgrade. Users unable to upgrade may disable the SVG, JPEGXL, and MP4 thumbnail types in the MMR config which prevents the decoders from being invoked. Further disabling uncommon file types on the server is recommended to limit risk surface. Containers and other similar technologies may also be used to limit the impact of vulnerabilities in external decoders, like ImageMagick and ffmpeg. Some installations of ImageMagick may disable "unsafe" file types, like PDFs, already. This option can be replicated to other environments as needed. ffmpeg may be compiled with limited decoders/codecs. The Docker image for MMR disables PDFs and similar formats by default.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0065 51st 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
No
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-rcxc-wjgw-579r
  • 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-rcxc-wjgw-579r

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-rcxc-wjgw-579r github.com/t2bot/matrix-media-repo (Go) Fixed in 1.3.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-56515
  2. 2026-10-03 Alias added: GHSA-rcxc-wjgw-579r
  3. 2026-10-21 EPSS moved to the 50th–90th percentile

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-35305 Denial of service through memory exhaustion in Matrix Media Repo CVSS 3.1HIGH 7.5
  • TI-2024-24189 Denial of service/high operating costs through unauthenticated downloads in Matrix Media Repo CVSS 3.1HIGH 7.5

Sources