CVE-2025-66020: Valibot has a ReDoS vulnerability in `EMOJI_REGEX`
High · CVSS 7.5 (CVSS 3.1)EPSS 0.33%, 26th percentilePublished Updated Assigner: 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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · CWE-1333
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
open-circle: valibot
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc (opens in new tab)
- github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)