Vulnerability · Published Nov 26, 2025 · Assigned by GitHub_M
CVE-2025-66020Valibot has a ReDoS vulnerability in `EMOJI_REGEX`
High 7.5
In plain English
A high-severity regular-expression denial of service in valibot from open-circle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Valibot helps validate data using a schema. In versions from 0.31.0 to 1.1.0, the EMOJI_REGEX used in the emoji action is vulnerable to a Regular Expression Denial of Service (ReDoS) attack. A short, maliciously crafted string (e.g., <100 characters) can cause the regex engine to consume excessive CPU time (minutes), leading to a Denial of Service (DoS) for the application. This issue has been patched in version 1.2.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | valibot | 1.2.0 | GHSA-vqpr-j7v3-hqw9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| open-circle | valibot | >= 0.31.0, < 1.2.0 |
Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H