Menu

CVE-2026-121707: CVE-2026-121707: Regular Expression Denial of Service (ReDoS) in Effect Schema.TemplateLiteral
📰

CVE-2026-121707: CVE-2026-121707: Regular Expression Denial of Service (ReDoS) in Effect Schema.TemplateLiteral

DEV Community: cybersecurity·CVE Reports·about 21 hours ago
#TQ7c0oOJ
#devtocybersecurity#devto#dev#effect#schema
Long article (580 words) — no AI summary yet.
Reading 0:00
15s threshold

CVE-2026-121707: Regular Expression Denial of Service (ReDoS) in Effect Schema.TemplateLiteral

Vulnerability ID: CVE-2026-121707

CVSS Score: 8.7

Published: 2026-11-19

CVE-2026-121707 is a high-severity Regular Expression Denial of Service (ReDoS) vulnerability in the Effect TypeScript library prior to version 3.22.1. When evaluating untrusted input against Schema.TemplateLiteral definitions containing multiple string spans, the dynamically compiled regular expression exhibits polynomial backtracking complexity. Because JavaScript runtimes execute on a single-threaded event loop, processing specially crafted non-matching strings causes synchronous CPU starvation and complete application unresponsiveness.

TL;DR

Effect versions prior to 3.22.1 compile Schema.TemplateLiteral string spans into overlapping lazy wildcard regular expressions ([\s\S]*?).…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.