CVE-2025-5197 | huggingface Transformers up to 4.51.3 API Service convert_tf_weight_name_to_pt_weight_name redos
A vulnerability was found in huggingface Transformers up to 4.51.3. It has been declared as problematic. Affected by this vulnerability is the function convert_tf_weight_name_to_pt_weight_name of the component API Service. The manipulation leads to inefficient regular expression complexity.
This vulnerability is known as CVE-2025-5197. The attack can be launched remotely. There is no exploit available.
It is recommended to upgrade the affected component.VulDB Recent EntriesRead More