A vulnerability, which was classified as problematic, has been found in huggingface transformers up to 4.49.x. This issue affects the function
preprocess_string
of the component testing_utils. The manipulation leads to inefficient regular expression complexity.
The identification of this vulnerability is CVE-2025-2099. The attack may be initiated remotely. There is no exploit available.
It is recommended to upgrade the affected component.