GHSA-4w7r-h757-3r74 · 深刻度: medium · エコシステム: pip — Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer
The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer. The vulnerability arises from the _do_use_weight_decay method, which processes user-controlled regular expressions in the include_in_weight_decay and exclude_from_weight_decay lists. Malicious regular expressions can cause catastrophic backtracking during the re.search call, leading to 100% CPU utilization and a denial of service. This issue can be exploited by attackers who can control the patterns in these lists, potentially causing the machine learning task to hang and rendering services unresponsive.
総合評価: CVE-2025-6921 は公開エクスプロイトあり(58.5/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.48%、37 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.48% | +0.45% |
| 2 | 2026-02-19 | 0.05% | 0.03% | -0.02% |
| 3 | 2026-02-18 | — | 0.05% | — |
EPSS の全履歴 (全 8 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.3 | 3.0 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-4w7r-h757-3r74 · 深刻度: medium · エコシステム: pip — Hugging Face Transformers vulnerable to Regular Expression Denial of Service (ReDoS) in the AdamWeightDecay optimizer
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2025-6921 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| huggingface | transformers | < 4.53.0 | cpe:2.3:a:huggingface:transformers:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/huggingface/transformers/commit/47c34fba5c303576560cb29767efb452ff12b8be | Patch |
| https://huntr.com/bounties/287d15a7-6e7c-45d2-8c05-11e305776f1f | Exploit Third Party Advisory |