CVE-2025-32381 | Denial of Service by abusing xgrammar unbounded cache in memory

XGrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to 0.1.18, Xgrammar includes a cache for compiled grammars to increase performance with repeated use of the same grammar. This cache is held in memory. Since the cache is unbounded, a system making use of xgrammar can be abused to fill up a host's memory and case a denial of service. For example, sending many small requests to an LLM inference server with unique JSON schemas would eventually cause this denial of service to occur. This vulnerability is fixed in 0.1.18.

公開: 2025-04-09 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2025-32381 は低リスク(39.2/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.47%、37 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2025-32381 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-07-11 0.35% 0.47% +0.11%
2 2026-05-23 0.51% 0.35% -0.15%
3 2026-05-19 0.51%

EPSS の全履歴 (全 6 件)

CVE-2025-32381 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
2.8 3.6 [email protected]

CVE-2025-32381 の弱点分類(列挙)

CVE-2025-32381 の GitHub Security Advisory

GHSA-389x-67px-mjg3 · 深刻度: medium · エコシステム: pip — xgrammar Vulnerable to Denial of Service (DoS) by abusing unbounded cache in memory

CVE-2025-32381 の OS トラッカー

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2025-32381

CVE-2025-32381 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
mlc-ai xgrammar < 0.1.18 cpe:2.3:a:mlc-ai:xgrammar:*:*:*:*:*:*:*:*

CVE-2025-32381 の参考情報

cvelogic Threat Intelligence