Technical impact
The vulnerability is a regular expression denial of service (ReDoS) caused by the compilation of Schema.TemplateLiteral expressions that contain at least two Schema.String spans. Each string span is compiled to the ambiguous lazy wildcard [\s\S]*?, which, when subjected to decoding of a non‑matching untrusted string, triggers cubic regular expression backtracking. The result is a block of the JavaScript event loop, preventing normal execution of the application. The weakness is identified as CWE‑1333 and does not provide a path to arbitrary code execution.
Affected Systems
Affected users are those running the Effect‑TS Effect framework, specifically the Schema module and its consumer APIs, including Schema.decodeUnknown, Schema.decodeUnknownSync, Schema.is, HttpApi, and @effect/rpc payload decoding. All releases before version 3.22.1 are vulnerable; the fix is included in 3.22.1 and later.
Risk and Exploitability
The CVSS score of 8.7 reflects a high severity DoS impact. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, so the global exploit probability is unknown. The likely attack vector is the injection of malicious input into any API or service that processes untrusted data through the vulnerable Schema functions, such as external HTTP endpoints or RPC calls. An attacker could trigger event‑loop stalls by sending a specially crafted string payload, which would degrade or halt application availability.