Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. matrix-synapse
  4. ›
  5. CVE-2024-53863

CVE-2024-53863: Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders

December 3, 2024 (updated October 31, 2025)

In Synapse versions before 1.120.1, enabling the dynamic_thumbnails option or processing a specially crafted request could trigger the decoding and thumbnail generation of uncommon image formats, potentially invoking external tools like Ghostscript for processing.

This significantly expands the attack surface in a historically vulnerable area, presenting a risk that far outweighs the benefit, particularly since these formats are rarely used on the open web or within the Matrix ecosystem.

For a list of image formats, as well as decoding libraries and helper programs used, see the Pillow documentation.

References

  • github.com/advisories/GHSA-vp6v-whfm-rv3g
  • github.com/element-hq/synapse
  • github.com/element-hq/synapse/security/advisories/GHSA-vp6v-whfm-rv3g
  • nvd.nist.gov/vuln/detail/CVE-2024-53863

Code Behaviors & Features

Detect and mitigate CVE-2024-53863 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.120.1

Fixed versions

  • 1.120.1

Solution

Upgrade to version 1.120.1 or above.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

pypi/matrix-synapse/CVE-2024-53863.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.