CVE-2025-66020CWE-1333

CVE-2025-66020

High · published November 26, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
25.0
In the wild
Unconfirmed
What it is

⚡ A crafty little string can bring your whole app to its knees! The Regular Expression Denial of Service (ReDoS) vulnerability in Valibot versions 0.31.0 to 1.1.0 is a sneaky way for attackers to hog CPU resources with just a few characters. 🔥 Think of it like a restaurant that can only handle a few customers at a time. If someone sends in a long, confusing order, it clogs the kitchen, causing everything to come to a standstill while the staff tries to figure it out. That's what this ReDoS vulnerability does to your server! An attacker could exploit this vulnerability by sending a short, maliciously crafted string, which would consume excessive CPU time, potentially bringing your application to a grinding halt for minutes. Imagine your service being down just because of one sneaky input! Not great for your users, and even worse for your reputation!

Put simply

Think of it like a restaurant that can only handle a few customers at a time. If someone sends in a long, confusing order, it clogs the kitchen, causing everything to come to a standstill while the staff tries to figure it out. That's what this ReDoS vulnerability does to your server! This vulnerability in Valibot arises from the EMOJI_REGEX used in the emoji action, which, when bombarded with certain inputs, can lead the regex engine to take forever to resolve, creating a Denial of Service (DoS) scenario.

What to do

An attacker could exploit this vulnerability by sending a short, maliciously crafted string, which would consume excessive CPU time, potentially bringing your application to a grinding halt for minutes. Imagine your service being down just because of one sneaky input! Not great for your users, and even worse for your reputation! To protect yourself, upgrade Valibot to version 1.2.0 immediately. Additionally, consider reviewing your regex patterns for efficiency to prevent similar issues in the future. Keeping your components up to date is crucial for maintaining security! You've got this! Follow these steps and secure your application against this pesky vulnerability! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00331 · 25.0th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2025-11-26T07:15Z
References (2)
EPSS history
Timeline
  • 26 NOV 01:49Z
    Valibot has a ReDoS vulnerability in `EMOJI_REGEX`
    cvelistv5