Description
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.
Affected packages
python312Packages.xgrammar (0.1.24@nixos-25.11)
python313Packages.xgrammar (0.1.24@nixos-25.11, 0.1.31@nixos-unstable)
python314Packages.xgrammar (0.1.31@nixos-unstable)
pkgsRocm.python3Packages.xgrammar (0.1.24@nixos-25.11, 0.1.31@nixos-unstable)
Additional comment
Upstream advisory: https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3
Description
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.
Affected packages
python312Packages.xgrammar(0.1.24@nixos-25.11)python313Packages.xgrammar(0.1.24@nixos-25.11, 0.1.31@nixos-unstable)python314Packages.xgrammar(0.1.31@nixos-unstable)pkgsRocm.python3Packages.xgrammar(0.1.24@nixos-25.11, 0.1.31@nixos-unstable)Additional comment