CVE-2025-66020: Valibot Has a ReDoS Vulnerability
Affects valibotSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 1.2.0 soon.
Data as of 19 Nov 2026, 02:42 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.5 |
|---|
- Patch
- Available – fixed in 1.2.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 26 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade valibot to 1.2.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmvalibot | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Valibot version 1.2.0 that fixes the ReDoS vulnerability by modifying the `EMOJI_REGEX` to remove overlapping character classes and prevent catastrophic backtracking. Users should upgrade to version 1.2.0 or later. No other mitigation is required once the patch is applied.
Description
Valibot's `emoji` validation uses a regular expression (`EMOJI_REGEX`) vulnerable to Regular Expression Denial of Service (ReDoS) due to catastrophic backtracking caused by overlapping character classes. A crafted input string under 100 characters can cause excessive CPU consumption, leading to denial of service. This affects versions from 0.31.0 up to but not including 1.2.0. A fix is available in version 1.2.0 that modifies the regex to eliminate ambiguity.
References
- github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-66020 (opens in a new tab)
- github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc (opens in a new tab)
- github.com/open-circle/valibot (opens in a new tab)