{"id":"CVE-2025-66020","published":"2025-11-26T01:49:38Z","modified":"2025-11-26T14:16:54Z","title":"Valibot has a ReDoS vulnerability in `EMOJI_REGEX`","vendor":"open-circle","product":"valibot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00355,"percentile":0.29979,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc","tags":["x_refsource_MISC"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":6.0},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"open-circle","affectedVersions":[{"vendor":"open-circle","product":"valibot","versions":[">= 0.31.0, < 1.2.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-11-26T14:15:40.424558Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"valibot","vulnerableRanges":[">=0.31.0, <1.2.0"],"patched":["1.2.0"],"from":["GHSA-vqpr-j7v3-hqw9"],"provenance":"source"}],"summary":{"text":"A regular expression used by the emoji validation action (EMOJI_REGEX) in the valibot schema-validation library is vulnerable to catastrophic backtracking, which is a form of ReDoS. An attacker who can submit input to an application validating data with the emoji action can cause excessive CPU consumption with a short, specially crafted string, and no authentication, user interaction, or special configuration is required beyond that network-reachable input path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:49Z"},"euvd":{"id":"EUVD-2025-199685","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-66020","published":"2025-11-26","fixed":"1.2.0","kev":false},{"cve":"CVE-2026-59952","published":"2026-07-30","fixed":"1.4.2","kev":false,"link":{"from":"CVE-2025-66020","to":"CVE-2026-59952","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:valibot","fromFixed":"1.2.0","toFixed":"1.4.2","daysApart":246}]}}],"package":"npm:valibot"}}