🛡️ CVE-2025-57809 — xgrammar

🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-674 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

XGrammar affected by Denial of Service by infinite recursion grammars

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity none, availability high.

Affected software

CVE-2025-57809 is recorded against 1 package.

  • xgrammar (fixed in 0.1.21)

Timeline and source

Published on 25 August 2025 and last revised on 7 August 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from OSV.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Package)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector 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
CWE CWE-674
Public Exploit ⚠️ Yes
Source OSV
Published 2025-08-25
Updated 2026-08-12
Modified 2026-08-07

Affected Packages

Software From version Fixed in
xgrammar 0.1.21

Similar Threats

Exploit Protection

Are you running xgrammar?

CVE-2025-57809 carries CVSS 8.0 High rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2025-57809 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.