CVE-2025-66020 Details
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.
A Regular Expression Denial-of-Service (ReDoS) vulnerability has been identified in Valibot versions 0.31.0 prior to 1.1.0. The issue arises in the EMOJI_REGEX used for emoji validation, where overlapping character classes create ambiguity, leading to catastrophic backtracking. This allows a short, crafted string to be processed by the regex engine in a way that consumes excessive CPU time, causing a Denial-of-Service condition for the application.
Users can upgrade to Valibot version 1.2.0, which addresses the vulnerability by modifying the EMOJI_REGEX to eliminate the overlapping character classes that caused the issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 26, 2025CISA-ADP
Assessed Nov 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc | [email protected] | Source CodeVendor |
| https://github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| open-circle valibot | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Oct 18, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 26, 2025 | New CVE Received | [email protected] |
Volerion