Valibot has a ReDoS vulnerability in `EMOJI_REGEX`
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| open-circle | valibot | 0.31.0 to before 1.2.0 | 1.2.0 | Patch available | CNA |
| — | valibot (npm) | 0.31.0 to before 1.2.0 | 1.2.0 | Patch available | GHSA-vqpr-j7v3-hqw9 |
- valibot Vendoropen-circle Affected 0.31.0 to before 1.2.0 Fixed in 1.2.0 Patch available CNA
- valibot (npm) Vendor— Affected 0.31.0 to before 1.2.0 Fixed in 1.2.0 Patch available GHSA-vqpr-j7v3-hqw9
Remediation
- Fix · CNA valibot (open-circle) Fixed in 1.2.0
- Fix · GHSA-vqpr-j7v3-hqw9 valibot (npm) Fixed in 1.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-66020
- 2026-10-03 Alias added: GHSA-vqpr-j7v3-hqw9
References
More open-circle vulnerabilities
- TI-2026-42757 Valibot: record() issue paths can make flatten() throw for inherited Object property names CVSS 4.0MEDIUM 6.9
Sources
- CVE-2025-66020 · CVE Program
- CVE-2025-66020 · NVD
- FIRST EPSS
- GHSA-vqpr-j7v3-hqw9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences