CVE-2024-53863 json
Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders
published 2024-12-03 23 mo ago modified 2026-07-07 4 mo ago also EUVD-2024-3513 , GHSA-vp6v-whfm-rv3g , PYSEC-2026-1615
- cvss
- 9.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi matrix-synapse 1.120.1
- element-hq synapse 1.120.1
- matrix-synapse Ubuntu Pro 22.04 LTS 1.53.0-1ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2024-53863
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- matrix-synapse openSUSE Tumbleweed 1.120.2-1.1
opensuse advisories openSUSE-SU-2024:14541-1
- synapse Alpine 3.20 1.120.1
- synapse Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 1.120.2-r0
alpine advisories ALPINE-CVE-2024-53863
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-53863 updated cvss 8.2
matrix-synapse: Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 23 mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.2 | 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 |
| CNA | 4.0 | 8.2 | 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 | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | matrix-synapse | <1.120.1 |
1.120.1 |
Affected products
- element-hq synapse
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
github.com
/element-hq/synapse/security/advisories/GHSA-vp6v-whfm-rv3g
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-53863
advisory
-
github.com
/element-hq/synapse
package
-
pypi.org
/project/matrix-synapse
package
-
github.com
/advisories/GHSA-vp6v-whfm-rv3g
advisory
Sources
- CVE List CVE-2024-53863
- GitHub Advisory GHSA-vp6v-whfm-rv3g
- NVD CVE-2024-53863
- OSV PYSEC-2026-1615
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.