{"id":"CVE-2025-66020","state":"PUBLISHED","title":"Valibot has a ReDoS vulnerability in `EMOJI_REGEX`","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.","publishedAt":"2025-11-26T01:49:38.276Z","updatedAt":"2025-11-26T14:16:54.610Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["open-circle valibot"],"affected":[{"vendor":"open-circle","product":"valibot","versions":[{"version":">= 0.31.0, < 1.2.0","status":"affected"}]}],"references":["https://github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9","https://github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66020.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66020","state":"PUBLISHED","datePublished":"2025-11-26T01:49:38.276Z","dateUpdated":"2025-11-26T14:16:54.610Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-11-21T01:08:02.613Z"},"containers":{"cna":{"title":"Valibot has a ReDoS vulnerability in `EMOJI_REGEX`","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"open-circle","product":"valibot","versions":[{"version":">= 0.31.0, < 1.2.0","status":"affected"}]}],"references":[{"url":"https://github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9","name":"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","name":"https://github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-11-26T01:49:38.276Z"},"source":{"advisory":"GHSA-vqpr-j7v3-hqw9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-26T14:15:40.424558Z","id":"CVE-2025-66020","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-26T14:16:54.610Z"}}]}}}