{"cve":"CVE-2026-53531","nvd":{"published":"2026-08-21T22:16:39.737","modified":"2026-10-12T16:10:00.220","status":"Deferred","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.","cvss_v4":{"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},"cvss_v3":null,"cwes":["CWE-400","CWE-674"],"references":["https://github.com/erweixin/RaTeX/security/advisories/GHSA-4w5h-hx6r-28q7","https://github.com/erweixin/RaTeX/security/advisories/GHSA-4w5h-hx6r-28q7"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-53531","score":0.00426,"percentile":0.36554,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-4w5h-hx6r-28q7","url":"https://osv.dev/vulnerability/GHSA-4w5h-hx6r-28q7","summary":"ratex-parser has unbounded parser recursion that leads to stack overflow (process abort)","modified":"2026-07-07T23:56:32.234602Z","packages":[{"ecosystem":"crates.io","name":"ratex-parser","purl":"pkg:cargo/ratex-parser","ranges":["<0.1.11"],"fixed":["0.1.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}