CVE-2025-66020
published high CVSS 3.1 · 7.5Valibot has a ReDoS vulnerability in `EMOJI_REGEX`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| open-circle | — | valibot>= 0.31.0, < 1.2.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| open-circle | valibot | >= 0.31.0, < 1.2.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
2Provider assertions
2GitHub_M · cna
Valibot has a ReDoS vulnerability in `EMOJI_REGEX`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4cf817dd657c020eaca15be6ac11ecc9fb590b6f11b7224311dabb210f868680
- Ingested
- 23 Sep 2026, 08:56:20 UTC
- Source record
- Official CVE record