pypi package report

Is xgrammar safe?

xgrammar (pypi) has 4 known vulnerabilities, the worst rated HIGH. Upgrade to 0.1.32 or later to clear all of them. No malicious-package signal is recorded.

// reach

14 direct dependencies

7 carry known advisories, worst CRITICAL

6 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai models

3 published models carry an advisory from this package

0 pin a version the advisory is confirmed against; the rest declare it without a version.

Cloudflare/clairicHIGHnot pinned
Cloudflare/clairic-flashHIGHnot pinned

3 published models

3 declared · 2 observed · 0 inferred

ModelEvidence
MiniMaxAI/MiniMax-H3-Image-PEdeclared
Cloudflare/clairicobserved
Create a free accountto see all 1 models and per-model risk

3 published AI models are associated with this package: 3 name it in a requirements or pyproject file, 2 load it or import it directly, and 0 are inferred from the runtime stack their declared library pulls in. Only 3 state a version requirement, so this is not a count of affected models.


cvss
7.5
high

CVSS v3.1 base score out of 10

epss
1.3%
medium

chance of exploitation in 30 days, 72nd percentile of all CVEs

xyz score
4.1
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-7rgv-gqhr-fxg3, the advisory selected below

// 4 advisories

The multi-level nested syntax caused a segmentation fault (core dump).

Full advisory text at GitHub advisory or NVD.

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
// questions
Is xgrammar safe to install?

CyberXYZ does not call a package safe in absolute terms. It records 4 known vulnerabilities for xgrammar (pypi), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.

Does xgrammar have known vulnerabilities?

Yes. CyberXYZ records 4 known vulnerabilities for xgrammar (pypi), the worst rated HIGH. They are GHSA-7rgv-gqhr-fxg3, GHSA-5cmr-4px5-23pc, GHSA-9q5r-wfvf-rr7f, GHSA-389x-67px-mjg3.

Which version of xgrammar should I use?

0.1.32 or later clears every advisory recorded for xgrammar (pypi). Check the release you pick before installing it.

How do I check xgrammar before installing?

Search xgrammar in CyberXYZ Check at https://cyberxyz.io/check?q=xgrammar. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-24 at 14:04 UTC. The most recent advisory here was published 2026-03-05. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.