Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.7%top 50%

CVE-2026-25048: CWE-674: Uncontrolled Recursion in mlc-ai xgrammar

0
High
VulnerabilityCVE-2026-25048cvecve-2026-25048cwe-674
Published: 03/05/2026 (03/05/2026, 15:34:42 UTC)
Source: CVE Database V5
Vendor/Project: mlc-ai
Product: xgrammar

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
mlc-ai/xgrammar
pkg:github/mlc-ai/xgrammar
Affected versions
<0.1.32

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 22:30:53 UTC

Technical Analysis

The vulnerability identified as CVE-2026-25048 affects the mlc-ai xgrammar library, an open-source tool for structured generation. The issue involves uncontrolled recursion triggered by multi-level nested syntax, leading to a segmentation fault and potential denial of service. This flaw is classified under CWE-674 (Uncontrolled Recursion). The vulnerability affects all versions before 0.1.32 and has been addressed by a patch in version 0.1.32. The CVSS 4.0 base score is 8.7, indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on availability. Red Hat has published advisories referencing this CVE, confirming the patch availability.

Potential Impact

Exploitation of this vulnerability results in a segmentation fault causing the application to crash, which leads to a denial of service condition. There is no indication of code execution or data compromise beyond service disruption. The impact is high due to the ability to cause application crashes remotely without authentication.

Mitigation Recommendations

A fix is available in version 0.1.32 of the mlc-ai xgrammar library. Users should upgrade to version 0.1.32 or later to remediate this vulnerability. Red Hat advisories confirm the availability of patches. No additional mitigation steps are specified or required beyond applying the official fix.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-28T14:50:47.886Z
Cvss Version
4.0
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-25048","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6761","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5809","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6762","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24977","vendor":"Red Hat"}]

Threat ID: 69a9c05f460e1c85df0c5c4d

Added to database: 03/05/2026, 17:41:51 UTC

Last enriched: 07/22/2026, 22:30:53 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 165

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses