CVE-2025-57809
HIGH7.5EPSS 0.05%XGrammar affected by Denial of Service by infinite recursion grammars
發布日:2025/8/25修改日:2026/2/4
描述
### Summary This issue: http://github.com/mlc-ai/xgrammar/issues/250 should have it's own security advisory. Since several tools accept and pass user supplied grammars to xgrammar, and it is so easy to trigger it seems like a High.
受影響套件(1)
- PyPI/xgrammarfrom 0, < 0.1.21
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-57809
- PATCHhttps://github.com/mlc-ai/xgrammar
- WEBhttps://github.com/mlc-ai/xgrammar/commit/b943feacb5a1caf4d39de8ec3bf7c7ce066dcee5
- WEBhttps://github.com/mlc-ai/xgrammar/issues/250
- WEBhttps://github.com/mlc-ai/xgrammar/security/advisories/GHSA-5cmr-4px5-23pc