Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-66020

Valibot has a ReDoS vulnerability in `EMOJI_REGEX`
Back to all
CVE

CVE-2025-66020

Valibot has a ReDoS vulnerability in `EMOJI_REGEX`

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.5
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66020.json, https://github.com/open-circle/valibot/commit/cfb799db301a953a0950d5c05a34a3ab121262dc, https://github.com/open-circle/valibot/security/advisories/GHSA-vqpr-j7v3-hqw9, https://nvd.nist.gov/vuln/detail/CVE-2025-66020

Severity

7.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.5
EPSS Probability
0.00057%
EPSS Percentile
0.17953%
Introduced Version
1d5f55fdb3fb646f80c2667a37044a7b55341e94
Fix Available
1e85e8b9bac729c0cecce04388cfc8660c8ba09a

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading