# CVE-2025-66020: Valibot has a ReDoS vulnerability in `EMOJI_REGEX`

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-11-26T01:49:38.276Z
- Modified: 2026-10-23T22:10:00.160Z
- Also known as: GHSA-vqpr-j7v3-hqw9
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- open-circle valibot: >= 0.31.0, < 1.2.0
- valibot (npm): from 0.31.0 before 1.2.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9> (web)
- <https://github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66020> (advisory)
- <https://github.com/open-circle/valibot> (package)

## Sources

- CVE List: [CVE-2025-66020](https://www.cve.org/CVERecord?id=CVE-2025-66020), CVE Terms of Use, modified 2025-11-26
- GitHub Advisory Database: [GHSA-vqpr-j7v3-hqw9](https://github.com/advisories/GHSA-vqpr-j7v3-hqw9), CC-BY-4.0, modified 2025-11-26
- NVD: [CVE-2025-66020](https://nvd.nist.gov/vuln/detail/CVE-2025-66020), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2025-66020 · Whole record: https://cve.day/CVE-2025-66020.json · Rebuilt by cve.day 2026-11-25T22:59:08.029Z
