A vulnerability was found in huggingface transformers up to 4.49.x. It has been classified as problematic. This affects the function SubWordJapaneseTokenizer. The manipulation leads to inefficient regular expression complexity.

This vulnerability is uniquely identified as CVE-2025-1194. It is possible to initiate the attack remotely. There is no exploit available.

It is recommended to upgrade the affected component.