CVE-2025-66020
HIGH 7.5CVSS 3.1Valibot has a ReDoS vulnerability in `EMOJI_REGEX`
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.
- Published
- 26 Nov 2025
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1333
- Also known as
- GHSA-vqpr-j7v3-hqw9
- Sources
- NVDJSONOSV GHSA-vqpr-j7v3-hqw9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | valibot | >= 0.31.0, < 1.2.0 | 1.2.0 |
References
- https://github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc · WEB
- https://github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66020 · ADVISORY
- https://github.com/open-circle/valibot · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 26 Nov 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Nov 2025)