CVE-2026-53530
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.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.7
- CVSS 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
- EPSS probability
- 0.25%
- CWE
- CWE-248, CWE-400, CWE-1285
- Published
- 2026-08-21
- Last modified
- 2026-08-24
Affected products
- erweixin RaTeX
Weakness type
Related vulnerabilities
- CVE-2026-69839 — Windows iSCSI Target Service Denial of Service Vulnerability
- CVE-2026-82058 — Unhandled Exception in MongoDB Server JSON Schema Validation Error Generation Leads to Denial of Service
- CVE-2022-51014 — PocketMine-MP before 4.0.7 Denial of Service via JSON Decoding
- CVE-2022-51009 — PocketMine-MP before 4.7.2 Denial of Service via Skin Geometry
- CVE-2026-19534 — undici vulnerable to Denial of Service via unrequested WebSocket subprotocol
- CVE-2026-84947 — undici vulnerable to response truncation via oversized chunked responses in the dump interceptor
- CVE-2026-85014 — undici vulnerable to Denial of Service via WebSocketStream unclean close
- CVE-2026-85024 — undici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompression