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.
CVSS

No CVSS.

Configurations

No configuration.

History

12 Oct 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) RaTeX es un motor de renderizado de matemáticas compatible con KaTeX escrito en Rust. Antes de la versión 0.1.11, el punto de entrada del analizador público 'ratex_parser::parse(&str)' entra en pánico con la entrada de 9 bytes '\verbéxé' (es decir, '\verb' seguido por el delimitador no ASCII 'é'). Al manejar un comando '\verb', el analizador segmenta el argumento verbatim con índices de bytes ('arg[1..arg.len() - 1]'); si el carácter delimitador es UTF-8 multibyte, el índice '1' cae dentro de ese carácter y Rust entra en pánico con 'byte index 1 is not a char boundary'. Debido a que el perfil de lanzamiento de RaTeX establece 'panic = “abort”' ('Cargo.toml:48'), el pánico aborta todo el proceso - no solo la solicitud/hilo actual - haciendo de esto una dura denegación de servicio para cualquier servicio que renderice LaTeX no confiable. La versión 0.1.11 corrige el problema.

Information

Published : 2026-08-21 22:16

Updated : 2026-10-12 16:10


NVD link : CVE-2026-53530

Mitre link : CVE-2026-53530

CVE.ORG link : CVE-2026-53530


JSON object : View

Products Affected

No product.

CWE
CWE-248

Uncaught Exception

CWE-400

Uncontrolled Resource Consumption

CWE-1285

Improper Validation of Specified Index, Position, or Offset in Input