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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 58% of CVEs (2026-11-30)
- Published: 2024-12-03T16:48:29.722Z
- Modified: 2026-07-07T17:56:24.772Z
- Also known as: GHSA-vp6v-whfm-rv3g, PYSEC-2026-1615
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- element-hq synapse: < 1.120.1; before 1.120.1
- matrix-synapse (PyPI): before 1.120.1
- matrix synapse: before 1.120.1

## Every score

- GitHub_M: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/element-hq/synapse/security/advisories/GHSA-vp6v-whfm-rv3g> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-53863> (advisory)
- <https://github.com/element-hq/synapse> (package)
- <https://pypi.org/project/matrix-synapse> (package)
- <https://github.com/advisories/GHSA-vp6v-whfm-rv3g> (advisory)

## Sources

- CVE List: [CVE-2024-53863](https://www.cve.org/CVERecord?id=CVE-2024-53863), CVE Terms of Use, modified 2024-12-03
- GitHub Advisory Database: [GHSA-vp6v-whfm-rv3g](https://github.com/advisories/GHSA-vp6v-whfm-rv3g), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2024-53863](https://nvd.nist.gov/vuln/detail/CVE-2024-53863), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1615](https://osv.dev/vulnerability/PYSEC-2026-1615), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-53863 · Whole record: https://cve.day/CVE-2024-53863.json · Rebuilt by cve.day 2026-11-25T22:58:49.672Z
