Inefficient regular expression complexity in Valibot - CVE-2025-66020
Published: April 28, 2026
Valibot
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in EMOJI_REGEX used by the emoji action when processing user-controllable input. A remote attacker can submit a specially crafted short string to cause a denial of service.
The issue is caused by catastrophic backtracking due to overlapping character classes in the regex pattern.