Skip to main content
HIGH

CVE-2025-57809

CVSS v3

7.5

HIGH

EPSS Score

0.5 %

exploit probability, as of 2026-10-12

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for xgrammar. Watch xgrammar in CVE Watch Free account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • xgrammarPyPIall versions · fixed in 0.1.21

Vendor advisories

  • CVE-2025-57809 Red Hat Product Security12 products fixed · 2 known affected

    xgrammar: XGrammar affected by Denial of Service by infinite recursion grammars

    rhaiis/vllm-cuda-rhel9 as a component of Red Hat AI Inference Server · rhaiis/vllm-rocm-rhel9 as a component of Red Hat AI Inference Server

  • RHSA-2025:19430 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 1.5 (NVIDIA)

  • RHSA-2025:19429 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 1.5 (NVIDIA)

  • RHSA-2025:19428 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 1.5 (NVIDIA)

  • RHSA-2025:19427 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 1.5 (AMD)

  • RHSA-2025:19426 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Enterprise Linux AI 1.5 (NVIDIA)

5 more advisories

Full record on NVD

Description

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.

Technical details

Published
2025-08-25

Frequently asked questions

What is CVE-2025-57809?

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.

Is CVE-2025-57809 actively exploited?

Active exploitation of CVE-2025-57809 has not been confirmed. Its EPSS score was 0.5% on 2026-10-12, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-57809?

CVE-2025-57809 has a CVSS v3 base score of 7.5 (HIGH severity).

Running xgrammar? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE Watch

No credit card required · 50 free checks/month · Free API key