What’s Vulnerable › Vulnerabilities
CVE-2025-66020: Valibot has a ReDoS vulnerability in `EMOJI_REGEX`
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-26 · updated 2026-10-23
- Weakness: CWE-1333
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 products
- open-circle valibot: from 0.31.0, < 1.2.0
References
- https://github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc
- https://github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9
Get alerted when CVE-2025-66020 or the next vulnerability affects your stack