CVE Catalog

CVE-2025-12758

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.45%

37th percentile - higher than 37% of all known CVEs

Summary

The validator package before version 13.15.22 has a vulnerability in the isLength() function that mishandles Unicode variation selectors (\uFE0F, \uFE0E), leading to incorrect string length calculation. Attackers can exploit this to submit strings longer than expected, causing data truncation in databases, buffer overflows, or denial-of-service.

Risk Assessment

The organization risks accepting malicious input that can cause data corruption, system crashes, or service disruption.

Recommendation

Immediately update the validator package to version 13.15.22 or later, which includes a fix for the isLength() function.

Related vulnerabilities

Original NVD description (English source)

Versions of the package validator before 13.15.22 are vulnerable to Incomplete Filtering of One or More Instances of Special Elements in the isLength() function that does not take into account Unicode variation selectors (\uFE0F, \uFE0E) appearing in a sequence which lead to improper string length calculation. This can lead to an application using isLength for input validation accepting strings significantly longer than intended, resulting in issues like data truncation in databases, buffer overflows in other system components, or denial-of-service.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS