{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-25048",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-01-28T14:50:47.886Z",
        "datePublished": "2026-03-05T15:34:42.095Z",
        "dateUpdated": "2026-07-21T12:05:13.603Z"
    },
    "containers": {
        "cna": {
            "title": "xgrammar: Multi-layer nesting causes DoS",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-674",
                            "lang": "en",
                            "description": "CWE-674: Uncontrolled Recursion",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 8.7,
                        "baseSeverity": "HIGH",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/mlc-ai/xgrammar/security/advisories/GHSA-7rgv-gqhr-fxg3"
                },
                {
                    "name": "https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/mlc-ai/xgrammar/releases/tag/v0.1.32"
                }
            ],
            "affected": [
                {
                    "vendor": "mlc-ai",
                    "product": "xgrammar",
                    "versions": [
                        {
                            "version": "< 0.1.32",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-03-05T15:34:42.095Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-7rgv-gqhr-fxg3",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-03-05T16:33:30.343130Z",
                                "id": "CVE-2026-25048",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-03-05T16:33:36.678Z"
                }
            },
            {
                "affected": [
                    {
                        "collectionURL": "https://catalog.redhat.com/software/containers/",
                        "cpes": [
                            "cpe:/a:redhat:ai_inference_server:3.2::el9"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhaiis/vllm-cuda-rhel9",
                        "product": "Red Hat AI Inference Server 3.2",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1774351144",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://catalog.redhat.com/software/containers/",
                        "cpes": [
                            "cpe:/a:redhat:ai_inference_server:3.2::el9"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhaiis/model-opt-cuda-rhel9",
                        "product": "Red Hat AI Inference Server 3.2",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1774547384",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://catalog.redhat.com/software/containers/",
                        "cpes": [
                            "cpe:/a:redhat:ai_inference_server:3.2::el9"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhaiis/vllm-rocm-rhel9",
                        "product": "Red Hat AI Inference Server 3.2",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1775252598",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://catalog.redhat.com/software/containers/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_ai:2.25::el9"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhoai/odh-vllm-gaudi-rhel9",
                        "product": "Red Hat OpenShift AI 2.25",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1780069069",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://catalog.redhat.com/software/containers/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_ai:2.25::el9"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhoai/odh-vllm-cuda-rhel9",
                        "product": "Red Hat OpenShift AI 2.25",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1783998774",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://catalog.redhat.com/software/containers/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_ai:2.25::el9"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhoai/odh-vllm-rocm-rhel9",
                        "product": "Red Hat OpenShift AI 2.25",
                        "vendor": "Red Hat",
                        "versions": [
                            {
                                "lessThan": "*",
                                "status": "unaffected",
                                "version": "1783998857",
                                "versionType": "rpm"
                            }
                        ]
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:ai_inference_server:3"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhaiis/vllm-tpu-rhel9",
                        "product": "Red Hat AI Inference Server",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:enterprise_linux_ai:3"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhelai3/bootc-aws-cuda-rhel9",
                        "product": "Red Hat Enterprise Linux AI (RHEL AI) 3",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:enterprise_linux_ai:3"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhelai3/bootc-azure-cuda-rhel9",
                        "product": "Red Hat Enterprise Linux AI (RHEL AI) 3",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:enterprise_linux_ai:3"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhelai3/bootc-cuda-rhel9",
                        "product": "Red Hat Enterprise Linux AI (RHEL AI) 3",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:enterprise_linux_ai:3"
                        ],
                        "defaultStatus": "affected",
                        "packageName": "rhelai3/bootc-gcp-cuda-rhel9",
                        "product": "Red Hat Enterprise Linux AI (RHEL AI) 3",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_ai"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "rhoai/odh-kserve-agent-rhel9",
                        "product": "Red Hat OpenShift AI (RHOAI)",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_ai"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "rhoai/odh-kserve-controller-rhel9",
                        "product": "Red Hat OpenShift AI (RHOAI)",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_ai"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "rhoai/odh-kserve-router-rhel9",
                        "product": "Red Hat OpenShift AI (RHOAI)",
                        "vendor": "Red Hat"
                    },
                    {
                        "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                        "cpes": [
                            "cpe:/a:redhat:openshift_ai"
                        ],
                        "defaultStatus": "unaffected",
                        "packageName": "rhoai/odh-kserve-storage-initializer-rhel9",
                        "product": "Red Hat OpenShift AI (RHOAI)",
                        "vendor": "Red Hat"
                    }
                ],
                "datePublic": "2026-03-05T15:34:42.095Z",
                "descriptions": [
                    {
                        "lang": "en",
                        "value": "A flaw was found in xgrammar, an open-source library for structured generation. This vulnerability allows an attacker to trigger a segmentation fault, causing the program to crash and resulting in a Denial of Service (DoS). The issue occurs due to improper handling of multi-level nested syntax."
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "content": {
                                "namespace": "https://access.redhat.com/security/updates/classification/",
                                "value": "Important"
                            },
                            "type": "Red Hat severity rating"
                        }
                    },
                    {
                        "cvssV3_1": {
                            "attackComplexity": "LOW",
                            "attackVector": "NETWORK",
                            "availabilityImpact": "HIGH",
                            "baseScore": 7.5,
                            "baseSeverity": "HIGH",
                            "confidentialityImpact": "NONE",
                            "integrityImpact": "NONE",
                            "privilegesRequired": "NONE",
                            "scope": "UNCHANGED",
                            "userInteraction": "NONE",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                            "version": "3.1"
                        },
                        "format": "CVSS"
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "cweId": "CWE-674",
                                "description": "Uncontrolled Recursion",
                                "lang": "en",
                                "type": "CWE"
                            }
                        ]
                    }
                ],
                "references": [
                    {
                        "tags": [
                            "vdb-entry",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/security/cve/CVE-2026-25048"
                    },
                    {
                        "name": "RHBZ#2444840",
                        "tags": [
                            "issue-tracking",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2444840"
                    },
                    {
                        "tags": [
                            "x_sadp-csaf-vex"
                        ],
                        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25048.json"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:6761"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:5809"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:6762"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:42644"
                    },
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2026:24977"
                    }
                ],
                "solutions": [
                    {
                        "lang": "en",
                        "value": "RHSA-2026:6761: Red Hat AI Inference Server 3.2"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:5809: Red Hat AI Inference Server 3.2"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:6762: Red Hat AI Inference Server 3.2"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:42644: Red Hat OpenShift AI 2.25"
                    },
                    {
                        "lang": "en",
                        "value": "RHSA-2026:24977: Red Hat OpenShift AI 2.25"
                    }
                ],
                "timeline": [
                    {
                        "lang": "en",
                        "time": "2026-03-05T16:01:14.634Z",
                        "value": "Reported to Red Hat."
                    },
                    {
                        "lang": "en",
                        "time": "2026-03-05T15:34:42.095Z",
                        "value": "Made public."
                    }
                ],
                "title": "xgrammar: xgrammar: Denial of Service via multi-level nested syntax",
                "workarounds": [
                    {
                        "lang": "en",
                        "value": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."
                    }
                ],
                "x_adpType": "supplier",
                "x_generator": {
                    "engine": "sadp-cli 1.0.0"
                },
                "providerMetadata": {
                    "orgId": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
                    "shortName": "redhat-SADP",
                    "dateUpdated": "2026-07-21T12:05:13.603Z"
                }
            }
        ]
    }
}