{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-53531",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-06-09T17:30:33.457Z",
        "datePublished": "2026-08-21T21:34:16.017Z",
        "dateUpdated": "2026-08-21T21:34:16.017Z"
    },
    "containers": {
        "cna": {
            "title": "ratex-parser has unbounded parser recursion that leads to stack overflow (process abort)",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-400",
                            "lang": "en",
                            "description": "CWE-400: Uncontrolled Resource Consumption",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "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": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.9,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/erweixin/RaTeX/security/advisories/GHSA-4w5h-hx6r-28q7",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/erweixin/RaTeX/security/advisories/GHSA-4w5h-hx6r-28q7"
                }
            ],
            "affected": [
                {
                    "vendor": "erweixin",
                    "product": "RaTeX",
                    "versions": [
                        {
                            "version": "< 0.1.11",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-21T21:34:16.017Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "RaTeX is a KaTeX-compatible math rendering engine written in Rust. Prior to version 0.1.11, RaTeX’s recursive-descent parser recurses one (or more) native stack frame per nesting level at `{`, `\\left`, `\\sqrt{`, `^{`, etc, with no maximum depth limit. A short, ~10 KB input of nested groups overflows the 8 MB main-thread stack and aborts the process. With `panic = \"abort\"` (`Cargo.toml:48`), and because a Rust stack overflow is always a fatal `SIGABRT` regardless of panic strategy this is an unrecoverable, whole-process denial of service reachable from a single untrusted LaTeX string. Version 0.1.11 fixes the issue."
                }
            ],
            "source": {
                "advisory": "GHSA-4w5h-hx6r-28q7",
                "discovery": "UNKNOWN"
            }
        }
    }
}