{"id":"CVE-2026-53530","revision":"7f916e3be169412ea0dc3a84613bde5f","records":[{"revision":"7f916e3be169412ea0dc3a84613bde5f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-53530","aliases":[],"title":"ratex-parser panics on `\\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)","description":"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.","state":0,"publishedAt":"2026-08-21T21:31:12.665+00:00","modifiedAt":"2026-08-24T20:05:00.628+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:H/SC:N/SI:N/SA:N","score":8.7,"severity":"HIGH"}],"references":["https://github.com/erweixin/RaTeX/security/advisories/GHSA-4hgp-59h5-gvrj"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-53530","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-53530","identifiers":["CVE-2026-53530"]},"retained":false,"historicalAffected":[]}],"coverage":[]}