VDB
Sign up
HIGH7.5

PYSEC-2026-2322

Quick fix

PYSEC-2026-2322 — xgrammar: upgrade to the fixed version with the command below.

pip install --upgrade 'xgrammar>=0.1.32'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/xgrammar
Introduced in: 0Fixed in: 0.1.32
Fixpip install --upgrade 'xgrammar>=0.1.32'

References