CVE-2026-53530CWE-1285CWE-248CWE-400denial-of-service

CVE-2026-53530

published August 22, 2026

CVSS
8.7
EPSS
0%
Percentile
16.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
8.7 · NONE
CVSS v4.0
8.7 · 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
0.00253 · 16.6th percentile
Weaknesses
CWE-1285 · Improper Validation of Specified Index, Position, or Offset in Input; CWE-248 · Uncaught Exception; CWE-400 · Uncontrolled Resource Consumption
Published
2026-08-22T02:16Z
References (2)
EPSS history
Timeline
  • 21 AUG 21:31Z
    ratex-parser panics on `\verb` with a multibyte delimiter (UTF-8 byte-boundary slice)
    cvelistv5