CVE-2026-53530
published high CVSS 4.0 · 8.7ratex-parser panics on `\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| erweixin | — | RaTeX< 0.1.11 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| erweixin | RaTeX | < 0.1.11 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-248 CWE-248: Uncaught Exception
- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-1285 CWE-1285: Improper Validation of Specified Index, Position, or Offset in Input
References
1Provider assertions
2GitHub_M · cna
ratex-parser panics on `\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3106dbd55ed2728df019faa737e210450cff9018a1fbc8ed93593032634e9349
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record