SCA: security update for xgrammar (GHSA-389x-67px-mjg3)

medium Tenable Cloud Security Plugin ID 424805

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- XGrammar is an open-source library for efficient, flexible, and portable structured generation. Prior to
0.1.18, Xgrammar includes a cache for compiled grammars to increase performance with repeated use of the
same grammar. This cache is held in memory. Since the cache is unbounded, a system making use of xgrammar
can be abused to fill up a host's memory and case a denial of service. For example, sending many small
requests to an LLM inference server with unique JSON schemas would eventually cause this denial of service
to occur. This vulnerability is fixed in 0.1.18. (CVE-2025-32381)

See Also

https://github.com/advisories/GHSA-389x-67px-mjg3

Plugin Details

Severity: Medium

ID: 424805

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 4/9/2025

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:C

CVSS Score Source: CVE-2025-32381

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/9/2025

Vulnerability Publication Date: 4/9/2025

Reference Information

CVE: CVE-2025-32381

cwe: CWE-770