CVE-2025-66020
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-11-26

Last updated on: 2025-11-26

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-11-26
Last Modified
2025-11-26
Generated
2026-05-07
AI Q&A
2025-11-26
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
valibot valibot 1.1.0
valibot valibot 1.2.0
valibot valibot 0.31.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1333 The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a Regular Expression Denial of Service (ReDoS) in the EMOJI_REGEX used by Valibot's emoji action in versions 0.31.0 to 1.1.0. A specially crafted short string (less than 100 characters) can cause the regex engine to consume excessive CPU time for minutes, leading to the application becoming unresponsive or unavailable.


How can this vulnerability impact me? :

The vulnerability can cause a Denial of Service (DoS) by making the application consume excessive CPU resources, potentially making it unavailable or unresponsive to legitimate users.


What immediate steps should I take to mitigate this vulnerability?

Upgrade Valibot to version 1.2.0 or later, where the vulnerability has been patched. Avoid using vulnerable versions (0.31.0 to 1.1.0) to prevent exposure to the ReDoS attack.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart