{"id":"CVE-2026-53531","revision":"f12b7f59567346eca40bad07b2d9b505","records":[{"revision":"f12b7f59567346eca40bad07b2d9b505","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-53531","aliases":[],"title":"ratex-parser has unbounded parser recursion that leads to stack overflow (process abort)","description":"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.","state":0,"publishedAt":"2026-08-21T21:34:16.017+00:00","modifiedAt":"2026-08-25T16:51:41.853+00:00","affected":[{"ecosystem":"Vendor product","name":"RaTeX","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"erweixin\",\n                    \"product\": \"RaTeX\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.1.11\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":6.9,"severity":"MEDIUM"}],"references":["https://github.com/erweixin/RaTeX/security/advisories/GHSA-4w5h-hx6r-28q7"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-53531","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-53531","identifiers":["CVE-2026-53531"]},"retained":false,"historicalAffected":[]}],"coverage":[]}