validate_xgrammar_grammar
vllm/v1/structured_output/backend_xgrammar.py
Last patched
Overview
validate_xgrammar_grammar in vllm/v1/structured_output/backend_xgrammar.py (vllm-project/vllm) was changed by 4 published CVE fixes between 2025 and 2026, in 4 distinct patches that added or removed 23 lines in total.
vllm-project/vllm has 98 CVEs with a located fix in total, so 4% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed validate_xgrammar_grammar, newest first, with the lines each fix touched.
CVE-2026-55574 · lines 284–287 · +4 −1
High · CVSS 8.7EPSS 0.6%2026-07-06CVE-2025-48944 · lines 285–290 · +6 −0
Medium · CVSS 6.5EPSS 0.6%2025-05-30CVE-2025-48943 · lines 285–290 · +6 −0
Medium · CVSS 6.5EPSS 0.5%2025-05-30CVE-2025-48942 · lines 285–290 · +6 −0
Medium · CVSS 6.5EPSS 0.6%2025-05-30
Get an alert when the next CVE fix lands in vllm-project/vllm, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
Other hotspots in the repository
Functions in vllm-project/vllm changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to validate_xgrammar_grammar.
- How many CVEs have patched validate_xgrammar_grammar?
- 4 published CVEs changed validate_xgrammar_grammar in vllm-project/vllm, in 4 distinct patches totalling 23 changed lines, between 2025 and 2026.
- What is the latest CVE that changed validate_xgrammar_grammar?
- CVE-2026-55574 (vLLM: ReDoS via structured_outputs.regex compiled without timeout in xgrammar and outlines backends), published 2026-07-06, changed lines 284 to 287 of vllm/v1/structured_output/backend_xgrammar.py.
- How does validate_xgrammar_grammar compare to the rest of vllm-project/vllm?
- vllm-project/vllm has 98 CVEs with a located fix in total; 4 of them changed validate_xgrammar_grammar.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- vllm/v1/structured_output/backend_xgrammar.py on GitHub (opens in a new tab)
- All patched functions in vllm-project/vllm
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track vllm-project/vllm CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.