Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-53530

NONE Gepubliceerd: CWE-248

Beschrijving NL

RaTeX is een KaTeX-compatibele wiskundige rendering-engine geschreven in Rust. Voor versie 0.1.11 raakt het publieke parser entrypoint `ratex_parser::parse(&str)` in paniek op de 9-byte invoer `verbéxé` (d.w.z. `verb` gevolgd door het niet-ASCII scheidingsteken `é`). Bij het verwerken van een `werkwoord` -opdracht snijdt de parser het woordelijke argument met byte-indexen (`arg[1.. arg.len () - 1]`); als het scheidingsteken multibyte UTF-8 is, landt index `1` in dat teken en raakt Rust in paniek met *"byte-index 1 is geen tekengrens"*. Omdat het vrijgaveprofiel van RaTeX `panic = "abort"` (`Cargo.toml:48`) instelt, breekt de paniek het hele proces af — niet alleen het huidige verzoek/de huidige thread — waardoor dit een harde weigering van service is voor elke service die onbetrouwbare LaTeX weergeeft. Versie 0.1.11 lost het probleem op.

Origineel (Engels) tonen

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.

References