Skip to content
OpenAdvisories

Package · PyPI

xgrammar

4 known vulnerabilities.

4 results · Feed

  • High 8.7

    xgrammar: Multi-layer nesting causes DoS

    xgrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to version 0.1.32, the multi-level nested syntax caused a segmentation fault (core dumped). This issue has been patched in version 0.1.32.

  • Medium 6.9

    xgrammar vulnerable to denial of service by huge enum grammar

    xgrammar is an open-source library for efficient, flexible, and portable structured generation. A grammar optimizer introduced in 0.1.23 processes large grammars (>100k characters) at very low rates, and can be used for DOS of model providers. This issue is f…

  • High 7.7

    XGrammar affected by Denial of Service by infinite recursion grammars

    XGrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to version 0.1.21, XGrammar has an infinite recursion issue in the grammar. This issue has been resolved in version 0.1.21.

  • Medium 6.5

    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…