{"id":"CVE-2026-53531","published":"2026-08-21T21:34:16Z","modified":"2026-08-25T16:51:41Z","title":"ratex-parser has unbounded parser recursion that leads to stack overflow (process abort)","vendor":"erweixin","product":"RaTeX","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00426,"percentile":0.37718,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/erweixin/RaTeX/security/advisories/GHSA-4w5h-hx6r-28q7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":7.54},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"erweixin","affectedVersions":[{"vendor":"erweixin","product":"RaTeX","versions":["< 0.1.11"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-25T16:51:02.684429Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"ratex-parser","vulnerableRanges":["<0.1.11"],"patched":["0.1.11"],"from":["GHSA-4w5h-hx6r-28q7"],"provenance":"source"}],"summary":{"text":"The RaTeX math rendering engine (Rust, KaTeX-compatible), in its recursive-descent LaTeX parser, recurses without any depth limit on nested constructs such as braces, \\left, \\sqrt{ and ^{. An attacker who can supply a LaTeX string to the parser over the network, without authentication or user interaction, can submit a short nested input that exhausts the main-thread stack and aborts the whole process, denying service to everything it is serving.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:47Z"},"euvd":{"id":"EUVD-2026-64180","exploited":false,"provenance":"source"}}