GHSA-9356-575x-2w9m · 深刻度: medium · エコシステム: pip — 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 `convert_tf_weight_name_to_pt_weight_name()` function. This function, responsible for converting TensorFlow weight names to PyTorch format, uses a regex pattern `/[^/]*___([^/]*)/` that can be exploited to cause excessive CPU consumption through crafted input strings due to catastrophic backtracking. The vulnerability affects versions up to 4.51.3 and is fixed in version 4.53.0. This issue can lead to service disruption, resource exhaustion, and potential API service vulnerabilities, impacting model conversion processes between TensorFlow and PyTorch formats.
総合評価: CVE-2025-5197 は公開エクスプロイトあり(50/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.36%、28 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.10% | 0.36% | +0.27% |
| 2 | 2026-06-02 | 0.03% | 0.10% | +0.06% |
| 3 | 2026-02-18 | — | 0.03% | — |
EPSS の全履歴 (全 7 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.3 | 3.0 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-9356-575x-2w9m · 深刻度: medium · エコシステム: pip — Hugging Face Transformers Regular Expression Denial of Service (ReDoS) vulnerability
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-5197 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| huggingface | transformers | < 4.53.0 | cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/huggingface/transformers/commit/944b56000be5e9b61af8301aa340838770ad8a0b | Patch |
| https://huntr.com/bounties/3f8b3fd0-166b-46e7-b60f-60dd9d2678bf | Exploit Issue Tracking Patch Third Party Advisory |