Lucene search
+L

2 matches found

Github Security Blog
Github Security Blog
added 2025/08/06 12:31 p.m.16 views

Hugging Face Transformers Regular Expression Denial of Service (ReDoS) vulnerability

A Regular Expression Denial of Service ReDoS vulnerability exists in the Hugging Face Transformers library, specifically in the converttfweightnametoptweightname function. This function, responsible for converting TensorFlow weight names to PyTorch format, uses a regex pattern /^/^// that can be...

5.3CVSS4.9AI score0.00391EPSS
SaveExploits1References5Affected Software1
CVE
CVE
added 2025/08/06 11:53 a.m.113 views

CVE-2025-5197

The CVE-2025-5197 ReDoS vulnerability affects Hugging Face Transformers in the convert_tf_weight_name_to_pt_weight_name() function, where the regex /[^/]___([^/] )/ can cause excessive CPU usage via catastrophic backtracking. Affected versions: up to 4.51.3, with a fix in 4.53.0. Practical impact...

5.3CVSS5AI score0.00391EPSS
SaveExploits1References2Affected Software1
Rows per page
Query Builder