ADVISORIES

Vulnerability

CVE-2024-53863

Synapse is an open-source Matrix homeserver. 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. Synapse 1.120.1 addresses the issue by restricting thumbnail generation to images in the following widely used formats: PNG, JPEG, GIF, and WebP. This vulnerability is fixed in 1.120.1.

8 advisories report this vulnerability, across 5 ecosystems.

Advisories in PyPI

  • GHSA-vp6v-whfm-rv3g

    Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders

    High CVE-2024-53863 PyPI Updated 7 July 2026
  • PYSEC-2026-1615

    Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders

    CVE-2024-53863 PyPI Updated 7 July 2026

References