Inefficient regular expression complexity in Matrix Javascript SDK - #VU166055
Published: November 12, 2026
Vulnerability details
The vulnerability allows a remote privileged user to cause a denial of service in clients using the Matrix JavaScript SDK.
The vulnerability exists due to inefficient regular expression complexity in glob pattern evaluation when processing push rules or m.ignore.invites policy rules. A remote privileged user can include a malicious push rule glob pattern in a homeserver /sync response or, as administrator of a policy room to which the victim subscribes, specify a malicious rule pattern to trigger catastrophic regex backtracking and deny client service.