p PatchFirst

CVE-2025-57809

CVE-2025-57809 · XGrammar affected by Denial of Service by infinite recursion grammars

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.7 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • xgrammar

    Versions
    • < 0.1.21: Affected

    No fix published

  • xgrammar PyPI

    Versions
    • 0.1.0
    • 0.1.1
    • 0.1.10
    • 0.1.11
    • 0.1.12
    • 0.1.13
    • 0.1.17
    • 0.1.18
    • 0.1.19
    • 0.1.20
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    Affected ranges
    • ECOSYSTEM: < 0.1.21

    Update to 0.1.21

  • xgrammar PyPI

    Versions
    • 0.1.0
    • 0.1.1
    • 0.1.10
    • 0.1.11
    • 0.1.12
    • 0.1.13
    • 0.1.14
    • 0.1.15
    • 0.1.16
    • 0.1.17
    • 0.1.18
    • 0.1.19
    • 0.1.2
    • 0.1.20
    • 0.1.3
    • 0.1.4
    • 0.1.4rc2
    • 0.1.5
    • 0.1.5rc1
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    Affected ranges
    • ECOSYSTEM: < 0.1.21

    Update to 0.1.21

Original sources

Check your server →