{"id":"CVE-2026-53530","published":"2026-08-21T21:31:12Z","modified":"2026-08-24T20:05:00Z","title":"ratex-parser panics on `\\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)","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, the public parser entrypoint `ratex_parser::parse(&str)` panics on the 9-byte input `\\verbéxé` (i.e. `\\verb` followed by the non-ASCII delimiter `é`). When handling a `\\verb` command, the parser slices the verbatim argument with byte indices (`arg[1..arg.len() - 1]`); if the delimiter character is multibyte UTF-8, index `1` lands inside that character and Rust panics with *“byte index 1 is not a char boundary”*. Because RaTeX’s release profile sets `panic = \"abort\"` (`Cargo.toml:48`), the panic aborts the entire process — not just the current request/thread — making this a hard denial of service for any service that renders untrusted LaTeX. Version 0.1.11 fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00428,"percentile":0.37906,"provenance":"source"},"cwes":[{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1285","name":"Improper Validation of Specified Index, Position, or Offset in Input"}],"references":[{"url":"https://github.com/erweixin/RaTeX/security/advisories/GHSA-4hgp-59h5-gvrj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":7.58},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"erweixin","affectedVersions":[{"vendor":"erweixin","product":"RaTeX","versions":["< 0.1.11"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-24T20:04:54.916424Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"ratex-parser","vulnerableRanges":["<0.1.11"],"patched":["0.1.11"],"from":["GHSA-4hgp-59h5-gvrj"],"provenance":"source"}],"summary":{"text":"RaTeX, a KaTeX-compatible math rendering engine written in Rust, has a flaw in its public parser entrypoint ratex_parser::parse where a \\verb command with a multibyte UTF-8 delimiter causes a byte-boundary slice to panic. Because the release build uses panic = \"abort\", that panic terminates the whole process, so an attacker who can submit LaTeX for rendering only needs to send the crafted input to a service that parses it, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:12Z"},"euvd":{"id":"EUVD-2026-64179","exploited":false,"provenance":"source"}}